开启Apache的远程访问

477 阅读1分钟

在Apache的httpd.conf文件中,修改以下两点:
1、<Directory />
AllowOverride none
#Require all denied   //备注或去掉该段代码  拒绝所有请求
</Directory>
2、DocumentRoot "D:/wamp3/www"
<Directory "D:/wamp3/www/">
Options +Indexes +FollowSymLinks
AllowOverride all
#Require local   //关键 本地请求要去掉
</Directory>

3、在“控制面板”关闭防火墙