LinuxSir.cn,穿越时空的Linuxsir!

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

新手提问:redhatEnterprise4下的apache怎么访问别的目录?

[复制链接]
发表于 2006-10-28 11:41:52 | 显示全部楼层 |阅读模式
我将DocumentRoot设在/var/www/html下可以访问
但是将DocumentRoot设在其他目录(如:/webroot)下就出现Forbidden了,如下。
Forbidden
You don't have permission to access /index.html on this server.

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


--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at 192.168.52.132 Port 80
发表于 2006-10-28 17:52:50 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-29 12:32:20 | 显示全部楼层
搞定,谢了兄弟
回复 支持 反对

使用道具 举报

发表于 2006-10-30 18:43:40 | 显示全部楼层
客气。



Powered by vBulletin 版本 3.5.4
版权所有 ©2000 - 2006, Jelsoft Enterprises Ltd.
官方中文技术支持: vBulletin 中文
版权所有 ©2000 - 2005, Jelsoft Enterprises Ltd.
回复 支持 反对

使用道具 举报

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

本版积分规则

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