- 找到httpd.conf,用记事本打开httpd.conf,
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- </Directory>
- 将这里改成:
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Allow from all
- </Directory>
- 还有一处将下面
将Deny from all 改为:Allow from all ,然后重新启动所有服务。
现在打开localhost或127.0.0.1时发现可以访问了,但访问phpmyadmin时候,出现“You don‘t have permission to access /phpmyadmin/ on this server.”的提示。
修改保存后,重启wamp 。
输入http://localhost/,apache出现You don't have permission to access/on this server.的提示,如何解决?
原文:http://www.cnblogs.com/yinrw/p/5128524.html