您当前的位置:飞翔学院-IT中国 →
编程开发 →
PHP → 文章内容
如何让Apache能自动运行index.php?
作者:佚名 来源:不详 发布时间:2007-11-29 20:55:37
编辑httpd.conf文件,找到DirectoryIndex在后面加一个index.php。
例如,我把DirectoryIndex这行改为:DirectoryIndex index.html index.htm index.php index.html.var
保存编辑的内容,重新启动Apache就可以实现了。
更多内容请看PCdog.com--Web服务器专题