|
发表于 2007-4-21 04:12:45
|
显示全部楼层
你相应的目录设置是什么?
我的配置是
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
[color="Red"] Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
[color="Red"] Order deny,allow
Deny from all
</LimitExcept>
</Directory>
# Suexec isn't really required to run cgi-scripts, but it's a really good
# idea if you have multiple users serving websites...
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
SetHandler cgi-script
</Directory>
注意红色那一段 |
|