码迷,mamicode.com
首页 > Web开发 > 详细

Apache 2.4.27外网访问403(Forbidden)错误

时间:2018-01-29 15:55:02      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:orb   forbidden   yml   links   错误   lin   includes   grant   director   

httpd.conf

<Directory />
AllowOverride none
#Require all denied 注释这句
Allow from all
Require all granted
</Directory>

 

<Directory "${INSTALL_DIR}/www/">

#Require local 注释这句
Require all granted  增加这句

 

httpd-vhosts.conf

<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
#Require local        注释这句
Require all granted 增加这句
</Directory>

Apache 2.4.27外网访问403(Forbidden)错误

标签:orb   forbidden   yml   links   错误   lin   includes   grant   director   

原文地址:https://www.cnblogs.com/win32pro/p/8376240.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!