Page 1 of 1

New security concept on Ubuntu

PostPosted: 13. August 2012 19:40
by ostraaten2
After clean install of Xampp 1.8.0 on Ubuntu 12.04 I start Xampp and navigate to http://localhost/phpmyadmin or http://127.0.0.1/phpmyadmin and then see the message:

Access forbidden!
Access to the requested directory is only available from the local network.

This setting can be configured in the file "httpd-xampp.conf".

If you think this is a server error, please contact the webmaster.
Error 403
127.0.0.1
Apache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.4

Of course localhost and 127.0.0.1 are access from local network so it seems Xampp is default configured to deny access from local network. How can I correct this?

The httpd_xampp.conf look as follows with regards to the new 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>

Re: New security concept on Ubuntu

PostPosted: 13. August 2012 20:05
by JonB