apache的配置问题
时间:2010-07-21
来源:互联网
我的系统是red hat9 ,apache 2.2.15,php 4.4.2,web主目录是/var/www/html,主目录没有问题,下面的页面可以打开,可是我在下面建的子目录里的内容不能访问,提示:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
192.168.1.254
Apache/2.0.46 (Red Hat)
我的子目录也是755,可是就是不能访问,我也没有.htaccess文件。
后来我对子目录设权限如下,也不行:
<Directory "/var/www/html/mrtg">;
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>;
请高手指点。
我的/var/www/html /mrtg权限是755,内容的权限是644,我把内容拷入上一级目录就可以访问。
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
192.168.1.254
Apache/2.0.46 (Red Hat)
我的子目录也是755,可是就是不能访问,我也没有.htaccess文件。
后来我对子目录设权限如下,也不行:
<Directory "/var/www/html/mrtg">;
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>;
请高手指点。
我的/var/www/html /mrtg权限是755,内容的权限是644,我把内容拷入上一级目录就可以访问。
作者: glose 发布时间: 2010-07-21
这个我遇到过,好像是Options Indexes FollowSymLinks MultiViews的问题,或者直接修改首页为index.html或者index.php,在IE里访问就可以了。具体忘记了。

作者: wlacf 发布时间: 2010-07-28
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28