WampServer - Forbidden Error

by Subramanian 2012-08-31 11:40:26

wamp server - You don’t have permission to access / on this server.

Forbidden

You don't have permission to access / on this server.

Solution.

step1. You need to open file name “phpmyadmin.conf”. this is the phpmyadmin configuraiton file.
where you need to replce the code.

Original code.


Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1



Replaced code


Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from (your ip address)(or)all




NOTE: ‘c:/wamp/apps/phpmyadmin3.4.5/’ this is the path of the directory where you install your wamp server.
So you need to replace this path accordingly

By this change you are able to view your wamp server phpmyadmin panel.

Step2. Now you need to open another file, file is you Apache “httpd.conf” file.
This is also your Apache configuration file.
You may find this file under “C:wampbinapacheApache2.2.22conf”
This path is again depend on the installation directory of you wamp server.
Under this file you need to change the code.
First search this code “# onlineoffline tag – don’t remove”
You probable found this code in the mid of the file.
And then replace “Allow from 127.0.0.1″ with “Allow from (Your ip address)″
(or)
remove “Allow from 127.0.0.1″ and replace “Deny from all” with "Allow from all”

Completed……
Now you need to restart your wamp server and check all is set.
2051
like
0
dislike
0
mail
flag

You must LOGIN to add comments
Shyam

Hello sir. i'm not able to establish a connection to local host in my computer using wamp server. it is showing this error message: Unable to connect Firefox can't establish a connection to the server at localhost. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. So please suggest me how to over come this problem.

Subramanian

Firefox was using the IPv6 version of localhost. This can be fixed. Just follow these steps: --> Type about:config into the address bar -->Ignore the warning -->Enter network.dns.disableIPv6 into the filter box -->Right-click on the entry and press on toggle Close and restart Firefox.

Shyam

I had done the above Step, Still am not able to connect to local host

Shyam

I had done the above Step, Still am not able to connect to local host

Shyam

I had Done the above step. Still am not able to connect to Local Host