|
|
发表于 2005-7-4 15:16:07
|
显示全部楼层
我也有个相似的问题!
--------------------------------------------------------------------------------
Forbidden
You don't have permission to access /~link on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/2.0.52 (CentOS) Server at 192.168.100.113 Port 80
下面是我得设置:
apache:
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
文件权限:
drwxr-xr-x 6 link link 4096 Jul 1 17:58 link
drwxrwxrwx 2 link link 4096 Jul 4 14:19 public_html
-rwxrwxrwx 1 link link 20 Jul 4 14:19 index.php
selinux:
SELINUX=disabled
SELINUXTYPE=targeted
httpd_disable_trans=0
httpd_enable_cgi=1
httpd_enable_homedirs=1
httpd_ssi_exec=1
httpd_tty_comm=0
httpd_unified=1
---------------------------------------------------------------------
不知道是不是其他什么地方还需要设置,还是上面的设置有什么问题 |
|