看Apache的版本:
Apache 2.4.9:
路径wamp\bin\apache\apache2.4.9\conf\httpd.conf
找到
<Directory “c:/wamp/www/”>
AllowOverride all
Require all granted #添加允许外部访问
#
# Controls who can get stuff from this server.
#
# onlineoffline tag – don’t remove
# Require local #注释请求本机访问,将这行注释掉
</Directory
此法仅限 1同路由内网 2 Apache2.4.9