LinuxSir.cn,穿越时空的Linuxsir!

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

求助,apache无法访问!!!!!

[复制链接]
发表于 2005-8-18 11:55:12 | 显示全部楼层 |阅读模式
我安装的是CentOS 4.1 用的是系统自带的Apache 2.0.52 自建了/web目录用来保存网页
在httpd.conf里的DocumentRoot改成"/web"
但是在访问网站时出现
Forbidden
You don't have permission to access /index.php on this server.

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

好像是权限不对,但是我已经把web的权限改为755了,还是不行
请问是什么问题,谢谢
发表于 2005-8-18 18:07:17 | 显示全部楼层
error log
回复 支持 反对

使用道具 举报

发表于 2005-8-19 06:56:49 | 显示全部楼层
可能是DocumentRoot只改了一个地方
回复 支持 反对

使用道具 举报

发表于 2005-8-19 17:18:51 | 显示全部楼层
为你/web目录的other user权限+x,否则别人无法访问该目录,这么说能明白么?
回复 支持 反对

使用道具 举报

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

本版积分规则

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