LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 735|回复: 1

apache的documentRoot更改后无法访问

[复制链接]
发表于 2006-10-9 21:52:44 | 显示全部楼层 |阅读模式
默认路径/var/www/html 我把它改成/home/www,重启, 然后访问/home/www下的文件出现错误提示:
You don't have permission to access /test.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


这个是为什么啊
发表于 2006-10-11 13:06:46 | 显示全部楼层
看一下/home/www的权限,看看Apache组对这个目录有什么权限,以及other的权限。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表