Wednesday, 25 July 2012

New XAMPP security concept Problem in Ubuntu

When you upgrade your XAMPP to 1.8.0 or install XAMPP it you can get this type of error message.
Access forbidden!
New XAMPP security concept:
Access to the requested object 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 403localhost
Apache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.4

I also attach screenshot of it.

Now to remove this error open your "httpd-xampp.conf" as stated above in error by typing following command in terminal [Ctrl + Alt + t].

   sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf

Now make the two changes in that file as given in the following screenshots.

Original File :

After Changes :

Now restart your XAMPP by executing following command in terminal

   sudo /opt/lampp/lampp restart

Now your phpmyadmin is working properly.