首页 > 其他 > 详细

apache 访问出现403 Forbidden

时间:2014-08-31 10:22:41      阅读:244      评论:0      收藏:0      [点我收藏+]

#
# Deny access to the entirety of your server‘s filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#
<Directory />
AllowOverride none
Require all denied
</Directory>

以上内容限制用户访问系统根目录,这应该是apache的默认安全设置,但是也限制了我们的设置目录地址,于是将上述内容修改成:

<Directory />
AllowOverride none
# Require all denied
Options FollowSymLinks
Order deny,allow
allow from all
</Directory>

apache 访问出现403 Forbidden

原文:http://www.cnblogs.com/gmblog/p/3947361.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!