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>
原文地址:https://www.cnblogs.com/win32pro/p/8376240.html
时间: 2024-10-09 14:22:59