打开Apache配置文件 httpd.conf (该文件在wampinapacheapache2.4.9conf)
DocumentRoot "d:/wamp/www/" <Directory /> AllowOverride none order deny,allow allow from all #Require all denied </Directory> <Directory "d:/wamp/www/"> Options Indexes FollowSymLinks AllowOverride all order deny,allow allow from all #Require local </Directory>
更改好了之后,如果手机测试还是不可以访问,那么需要打开防火墙,将apache 设置到防火墙之内,就可以访问了