wamp搭建本地服务器

安装wamp

服务器配置文件的修改
• 路径:D:\wamp\bin\apache\apache2.4.9\conf\httpd.conf(根据安装目录自行修改)
• 第一个地方

AllowOverride none Require all denied

修改为

<Directory "D:/wamp/bin/apache/apache2.4.9/cgi-bin">
AllowOverride None
Options None
Require all granted

• 第二个地方

onlineoffline tag - don't remove

Require local

修改为

onlineoffline tag - don't remove

Require local  
Require all granted

连接同一个wifi使得本机与其他设备在同一个局域网下

关闭本机防火墙

通过ipconfig查看本机的ipv4地址

连接了wifi的设备可以通过ip地址进行访问本地服务器了

posted @ 2019-05-26 12:57  玲珑问  阅读(167)  评论(0编辑  收藏  举报