标签:
看着别人开始体验win8了,前几天我也安装了win8系统,总体来说还不错,但是今天安装完Wampserver后,浏览器输入localhost,竟然报了403错误,我以为我安装出错了,后来研究了半天,发现输入127.0.0.1可以访问。习惯localhost访问的我顿感蛋疼不已。无奈只能打开度娘,各种搜索相关资料,终于找到了解决方案。 php错误: Forbidden You don‘t have permission to access / on this server. 解决方法:
打开httpd.conf文件,定位 Options FollowSymLinks AllowOverride None Order deny,allow Deny from all 把“Deny from all”改为“Allow 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” 打开phpmyadmin配置文件,我wamp安装在D盘,所以我的文件目录是D:\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” 重启服务,输入localhost,刷新浏览器,OK好了
标签:
原文地址:http://www.cnblogs.com/rainheader/p/4603317.html