- 论坛徽章:
- 0
|
我的系统是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,我把内容拷入上一级目录就可以访问。 |
|