打开下面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