QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 617|回复: 0

[求助]关于apache用户子目录访问……

[复制链接]
发表于 2005-3-19 20:25:51 | 显示全部楼层 |阅读模式
给用户创建一个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>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 07:57 , Processed in 0.044153 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表