New security concept on Ubuntu

Problems with the Linux version of XAMPP, questions, comments, and anything related.

New security concept on Ubuntu

Postby ostraaten2 » 13. August 2012 19:40

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>
ostraaten2
 
Posts: 4
Joined: 07. December 2010 21:41

Re: New security concept on Ubuntu

Postby JonB » 13. August 2012 20:05

User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests