+ -
当前位置:首页 → 问答吧 → 为什么我的apache不能正常显示

为什么我的apache不能正常显示

时间:2008-04-08

来源:互联网

我配置好的apache打开显示以下:为什么要输入http://IP/index.php ?



我的配置如下:

/etc/httpd/conf/httpd.conf配置。。默认主页

添加模块





为什么不能直接访问我的index.php?

如果,我把默认主页配置改成index.html
再在/usr/local/apache/htdocs 新建一个index.html 却可以访问默认的

[ 本帖最后由 bdqn 于 2008-4-8 13:27 编辑 ]

作者: bdqn   发布时间: 2008-04-08

httpd.conf文件中有个<directory>。

作者: MySQL   发布时间: 2008-04-09

谢谢大家,,我知道是怎么回事了!!是因为.找错了配置文件/etc/httpd/conf/httpd.conf


正确的/usr/local/apache/conf/httpd.conf
呵呵.唉...终于可以了!!

作者: bdqn   发布时间: 2008-04-10

可以了就好

作者: gleon   发布时间: 2008-04-14