1、打开文件 \wamp\bin\apache\apache2.4.9\conf\httpd.conf
2、在 278行处找到(也可全文搜索)
# onlineoffline tag - don't remove
Require local
将此处修改如下
# onlineoffline tag - don't remove
# Require local
Require all granted
Order Deny,Allow
Allow from all
3、重启wampserver
2、在 278行处找到(也可全文搜索)
# onlineoffline tag - don't remove
Require local
将此处修改如下
# onlineoffline tag - don't remove
# Require local
Require all granted
Order Deny,Allow
Allow from all
3、重启wampserver