站内搜索
广告
如何让Apache能自动运行index.php?
作者:    来源:    点击:    日期:2007-6-9 0:34:04   

编辑httpd.conf文件,找到DirectoryIndex在后面加一个index.php。
例如,我把DirectoryIndex这行改为:DirectoryIndex index.html index.htm index.php index.html.var
保存编辑的内容,重新启动Apache就可以实现了。
如何让Apache能自动运行index.php? 评论