错误403.Wamp服务器

问题描述:

我已经安装了wamp服务器2.2 我正在使用Windows 7

I have installed wamp server 2.2 I'm using windows 7

当时我处于在线状态,我无法使用WaMp查找本地主机 它给了我一些禁止的错误..您没有Access类的错误.

When I am online at that time i'm not able to find localhost using WaMp its giving me some Forbidden Error..You Don't have Access kind of error.

但是当我断开Internet连接时,我可以获得localhost..PHPmyadmin和WAMP服务器的所有功能.

But when I disconnect my internet connection, I can get localhost..PHPmyadmin and all feature of WAMP server.

我通过将Apache httpd .conf替换为All..."Deny all""Allow all"进行了很多尝试,但是仍然无法在线获取.

I tried a lot by changing the Apache httpd .conf to Replace All..."Deny all" to "Allow all"but still, i'm not able to get it online.

在连接菜单中在线放置服务器对我没有帮助.如果您使用的是Wamp服务器2.2E,则会在httpd.conf文件

Putting server online in contect menu did not help me. If you are using Wamp server 2.2E you will find the lines in your httpd.conf file

#   onlineoffline tag - don't remove
Require local

将它们更改为

#   onlineoffline tag - don't remove
Require all granted

这解决了我的问题.