New xampp security concept: Access Forbidden Error 403 - Windows 7 - phpMyAdmin New xampp security concept: Access Forbidden Error 403 - Windows 7 - phpMyAdmin windows windows

New xampp security concept: Access Forbidden Error 403 - Windows 7 - phpMyAdmin


All you have to do is to edit the httpd-xampp.conf

from Require local to Require all granted in the LocationMatch tag.

That's it!


In New Xampp

All you have to do is to edit the file:

C:\xampp\apache\conf\extra\httpd-xampp.conf

and go to Directory tag as below:

<Directory "C:/xampp/phpMyAdmin">

and then change

Require local

To

Require all granted

in the Directory tag.

Restart the Xampp. That's it!


Require all granted seemed a bit to far for me. Looking at the documentation I used: Require ip 192.168 to allow all internal access.

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">    Require local    Require ip 192.168    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var</LocationMatch>