您好,欢迎来到要发发知识网。
搜索
您的当前位置:首页wamp出现You don’t have permission to access/on this server提示(转)

wamp出现You don’t have permission to access/on this server提示(转)

来源:要发发知识网

转自http:///hong0220/article/details/40262729 ,转载方便以后查看。

  今天搭建wamp集成环境,本来已经搭建好了,但是在访问localhost时出现了You don’t have permission to access/on this server的提示,自己没有解决,在查看了http:///hong0220/article/details/40262729 之后修改成功。方法如下:

  

  • 找到httpd.conf,用记事本打开httpd.conf,然后将

这里改成:

  1. <Directory />
  2.     Options FollowSymLinks
  3.     AllowOverride None
  4.     Order deny,allow
  5.     Allow from all
  6. </Directory>

 还有一处将下面

  1. # onlineoffline tag - don't remove
  2. Order Deny,Allow
  3. Deny from all  
  4. Allow from 127.0.0.1
  5. </Directory>

Deny from all  改为:Allow from all  ,然后重新启动所有服务。

现在打开localhost或127.0.0.1时发现可以访问了,但访问phpmyadmin时候,出现“You don't have permission to access /phpmyadmin/ on this server.”的提示。

  • 解决方法,打开如下文件:

修改成这样:

  1. <Directory "c:/wamp/apps/phpmyadmin3.5.1/">
  2.     Options Indexes FollowSymLinks MultiViews
  3.     AllowOverride all
  4.     Order Deny,Allow
  5.     Allow from all
  6.     Allow from 127.0.0.1
  7. </Directory>

修改保存后,重启wamp ,搞定收工!

  

转载于:https://www.cnblogs.com/ltpnimeia/p/4337729.html

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- net188.cn 版权所有 湘ICP备2022005869号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务