Sunday, February 14, 2010

Access Forbidden XAMPP Error while try to chnage the security

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