Mani Singh Mani Singh - 2 months ago 5
Apache Configuration Question

How to resolve "Forbidden You don't have permission to access /phpmyadmin/ on this server"?

I have tried all possible but still same issue, I get this error:


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


By searching the web I have modify:

<Directory "E:/wamp/apps/sqlbuddy1.3.2/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>


to

<Directory "E:/wamp/apps/sqlbuddy1.3.2/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all




I have tried some other option but the issue is same.

Answer

I wondered whether your path name containing forward slashes might not be regarded by Apache as actually in existence, given that you are on Windows. So we changed:

<Directory "E:/wamp/apps/sqlbuddy1.3.2/">

to the backslash form:

<Directory "E:\wamp\apps\sqlbuddy1.3.2\">

and this seems to have brought it back to life!

You probably don't need the trailing slash, either.