| 
 | 
 
给用户创建一个web字目录,但访问的时候是 forbidden 
用户目录权限已改成711, pub_html权限也改成了755,pub_html目录下的index.html文件也是755权限 
用户目录设置如下,请问是哪儿出了问题呢? 谢谢 
 
<IfModule mod_userdir.c> 
# 
# UserDir is disabled by default since it can confirm the presence 
# of a username on the system (depending on home directory 
# permissions). 
# 
#UserDir disable 
 
# 
# To enable requests to /~user/ to serve the user's public_html 
# directory, remove the "UserDir disable" line above, and uncomment 
# the following line instead: 
# 
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> |   
 
 
 
 |