I tried to create a hampp for home development. It is installed correctly and I can access xampp pages like demos, security, status ... even using phytin-gui to start and stop the server.
But when it comes to phpMyAdmin access using ' http: // localhost / phpmyadmin ' I get the following error:
Access forbidden! New XAMPP security concept: Access to the requested directory is only available from the local network. This setting can be configured in the file "httpd-xampp.conf".
I checked my httpd-xampp.conf and it seems to be right. I tried to change the All prohibition to Allow, but it didn’t work.
My host files point localhost to 127.0.0.1, which is expected to be available for all xampp files.
I am running XAMPP 1.8.1 on an ubuntu 12.04 machine
Someone who had the same problem? I lost about 2 hours of browsing the Internet, but all I found is that this error occurs when trying to access the server from another network or machine. But for me the thing is that I work directly on the server, so he suggested that I can access phpMyAdmin by default.
My httpd-xampp.conf
# # New XAMPP security concept # <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 \ fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ fe80::/10 169.254.0.0/16 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>
source share