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