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

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>

posted @ 2018-01-29 10:50  liessay  阅读(533)  评论(0编辑  收藏  举报