|
最近在OpenSUSE11.3上安装了apache2,httpd.conf内关于根目录的设置如下:
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
default-server.conf 内关于目录权限的设置如下:
<Directory "/srv/www/htdocs">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
/srv/www/下所有目录和文件的权限设置为755,所有者和组设置为root:www,但是从浏览器里打开的时候始终提示“Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
”,自己折腾了几天,在网上查了好多,但始终解决不了,请各位高手不吝赐教 小弟先谢过了 |
|