OS:Linux localhost.localdomain 2.6.16.1 #2 SMP Tue Jun 27 21:08:42 CST 2006 i686 i686 i386 GNU/Linux
apache 版本:2.2
问题:给每个用户配置个人网站时,按照规定
# UserDir disable
UserDir public_html
<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>
在每个用户下面建public_html,下面建权限全部改成755,但是http://localhost/~用户名时,出现错误,如下:
Forbidden
You don't have permission to access /~ben/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.0 (Fedora) Server at localhost Port 80
大家帮忙解决一下啊,应该不是很麻烦吧?