+ -
当前位置:首页 → 问答吧 → apache无法更改网站主目录

apache无法更改网站主目录

时间:2008-10-15

来源:互联网

OS: XP sp2
apache: 2.2

默认为 DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
现更改为 DocumentRoot "D:/wwwroot"

重启动后无法访问新目录下的文件,原目录仅可访问index.html,其它也不能访问。恢复后一切正常,大家认为是什么问题呢?实在是不明白。

作者: meditator   发布时间: 2008-10-15

check the permission of your new web root folder first , then try access it .  if can not response normally , you can check the conf.ini under your apahce installation dir .  almost apahce run under microsoft operation system will simple than run and configuration under *nix platform .

作者: phpzb   发布时间: 2008-10-19

My disk is FAT32, no rights limit.

作者: meditator   发布时间: 2008-10-22

我可以的啊,我的现在就是d:\wwwroot啊

作者: す清风ら   发布时间: 2008-10-22

原帖由 す清风ら 于 2008-10-22 14:15 发表
我可以的啊,我的现在就是d:\wwwroot啊
更改的参数可列出来吗?BTW,我的PHP配置文件名是php.ini-dist,而且放在PHP的安装目录下,并不在\windows下,好象也没什么问题

作者: meditator   发布时间: 2008-10-23

热门下载

更多