如何配置WampServer3.1.9让同一区域网的设备可以访问

打开下面2个文件。

在httpd.conf中查找onlineoffline

把Require local修改为Require all granted 

打开httpd-vhosts.conf把Require local修改为Require all granted 

修改完毕,保存。重启wampserver

win+R打开cmd

输入ipconfig

找到ip地址复制

其他设备通过

http://IP地址/xxx/xxx.html访问

如:

http://00.00.000.00/xx/xxx.html

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章