wampserver出现You don't have permission to access / on this server.
来源:互联网 发布:快递员免费发短信软件 编辑:程序博客网 时间:2024/06/05 12:32
wampserver出现You don't have permission to access / on this server.
最近在安装最近版wampserver 2.2 d时发现安装好后启动服务器,访问localhost显示You don't have permission to access / on this server. 而在目录127.0.0.1下可以访问。
造成这个问题的原因是Apache 的http.conf内的默认配置是
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
只允许127.0.0.1访问,点击wampserver图标让后点击Putonline,http.conf内的以上默认配置自动修改为
# onlineoffline tag - don't remove
Order Allow,Deny
Allow from all
现在localhost可以访问了。
同样phpMyadmin在localhost下不能正常访问在127.0.0.1能正常访问,解决方法:
点击根目录下的alias目录,打开phpmyadmin.conf配置文件,和上面修改http.conf一样把
Deny from all
Allow from 127.0.0.1
修改为
Allow from all
原文:http://blog.sina.com.cn/s/blog_42913d65010106k9.html
- wampserver出现You don't have permission to access / on this server.
- wampserver出现You don't have permission to access / on this server.
- wampserver出现You don’t have permission to access/on this server
- (wordpress安装)针对WampServer出现You don't have permission to access /phpmyadmin/ on this server.
- wampserver出现You don’t have permission to access/on this
- wampserver You don't have permission to access / on this server. 解决 方法
- wampserver You don't have permission to access / on this server. 解决 方法
- wampserver You don't have permission to access / on this server. 解决方法
- wampserver You don't have permission to access / on this server解决 方法
- wampserver You don't have permission to access / on this server. 解决 方法
- wampserver You don't have permission to access / on this server. 解决方法
- wampserver增加vhost域名后提示“You don't have permission to access / on this server. ”
- wampserver提示You don't have permission to access / on this server
- wampserver You don't have permission to access / on this server. 解决 方法
- wampserver提示You don't have permission to access / on this server
- wampserver You don't have permission to access / on this server. 解决 方法
- wampserver提示You don't have permission to access / on this server
- wampserver You don't have permission to access / on this server. 解决 方法
- mysql修改密码后phpmyadmin 出现#1045 - Access denied for user 'root'@'localhost' (using password: NO)
- cpu内部结构图
- eclipse启动错误 Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see
- 华清远见cortex-a8中led跑马灯效果
- ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
- wampserver出现You don't have permission to access / on this server.
- 开机提示ntldr is missing解决方法
- 总结和创业从写自己的cms开始
- wampserver出现不支持curl解决方案
- thinkphp整合tagit插件和jquery input tags几个插件比较
- “Invalid configuration file. File "I:/My Virtual Machines/Windows XP english Professional/Windows XP Professional.vmx"
- Ubuntu 12.10终端Terminal快捷方式调用
- linux命令alias永久配置
- Ubuntu 12.10安装vmware-tools