日期:2014-05-16  浏览次数:20644 次

Forbidden
Forbidden 
You don't have permission to access / on this server.
已经把deny改为allow, 还是出现这问题,怎么回事,高手指点,提示~~

------解决方案--------------------
提问题的时候能给点上下文不。
------解决方案--------------------
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

这是禁止进入你文件系统的/目录,还需要为你的文档根目录开启allow:

213 <Directory "/home/9527/www/">
214 #
215 # Possible values for the Options directive are "None", "All",
216 # or any combination of:
217 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
218 #
219 # Note that "MultiViews" must be named *explicitly* --- "Options All"
220 # doesn't give it to you.
221 #
222 # The Options directive is both complicated and important. Please see
223 # http://httpd.apache.org/docs/trunk/mod/core.html#options
224 # for more information.
225 #
226 Options FollowSymLinks
227 
228 #
229 # AllowOverride controls what directives may be placed in .htaccess files.
230 # It can be "All", "None", or any combination of the keywords:
231 # Options FileInfo AuthConfig Limit
232 #
233 AllowOverride None
234 
235 #
236 # Controls who can get stuff from this server.
237 #
238 Require all granted
239 </Directory>
------解决方案--------------------
我就不爱信了。重启服务器了?
------解决方案--------------------
看access.log,贴一下。
------解决方案--------------------
1. 检查SELinux
2. 检查/home/9527/www/的用户、权限