måndag 20 maj 2013

Linux - XAMMP - Access forbidden on Security Page


Access forbidden when trying to access XAMPP security page. In the following simple solution, I will cover the process of fixing this security page access problem when running XAMPP on Windows Vista. Symptoms of this problem may be that you end up with the following error when attempting to access http://localhost/security/lang.php?en.

Access Forbidden XAMPP Error Screenshot

 

Access Forbidden XAMPP Security Page Error
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8

How to get access to the XAMPP Security Page

  1. Navigate to your xampp\apache\conf\extra folder
  2. Using a text editor, open httpd-xampp.conf
  3. Find the following line:
    Allow from localhost
  4. Change the line to:
    Allow from 127.0.0.1
  5. Save the file and restart your XAMPP server
  6. Try to access http://localhost/security/lang.php?en
You should now have no problems accessing the XAMPP Security Page via localhost or 127.0.0.1

Inga kommentarer: