Error - You don’t have permission to access / on this server error
occured in wampServer
Solution.
1. Open the file named as “phpmyadmin.conf”. phpmyadmin.conf is phpmyadmin configuraiton file.
You need to replace some of line like below.
Original code.
1. Open the file named as “phpmyadmin.conf”. phpmyadmin.conf is phpmyadmin configuraiton file.
You need to replace some of line like below.
Original code.
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Replaced code
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.X.X/’ this is the path of the directory where you install your wamp server.
Here you need to replace this path accordingly. By this change you are able to view your wamp server phpmyadmin panel.
2. Open the file named as “httpd.conf” .This is the Apache configuration file.
This file placed in below path.
“C:/wamp/bin/apache/Apache2.2.22/conf”
In this file you need to change the code.
In this file you need to change the code.
First search this code “# onlineoffline tag – don’t remove”
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”
That's all. Now once restart Your WampServer and Enjoy.
nice lines i'm enjoying to use this...
ReplyDelete