wampserver3.1.9 启用局域网访问
操作系统:WIN10
wampserver版本:V3.1.9
1、打开“Apache"中的”httpd.conf"文件,通过下图打开或者从安装路径打开“X:\wamp64\bin\apache\apache2.4.39\conf\httpd.conf"
2、搜索“Require all denied”,将“Require all denied”修改为“Require all granted”
<Directory />
AllowOverride none
#Require all denied 原文件配置,此处注释
Require all granted #修改的内容
</Directory>
3、搜索“ Require local”,在下面添加一行“Require all granted”
# onlineoffline tag - don't remove
Require local
Require all granted #增加的内容
</Directory>
4、关闭系统的防火墙或者添加防火墙的入站规则