win8新装的wamp,打开浏览器输入localhost就发现403错误,经测试输入127.0.0.1可以正常访问。
解决方法如下。
打开httpd.conf
搜索Deny from all定位到
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
将Deny from all改为Allow from all
继续搜索Deny from all定位到
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
将Deny from all改为Allow from all
如果不能用localhost打开phpmyadmin,请看下面
找到并打开wamp/alias/phpmyadmin.conf
找到
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
将Allow from 127.0.0.1改为Allow from ::1