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
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.
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
- Navigate to your xampp\apache\conf\extra folder
- Using a text editor, open httpd-xampp.conf
- Find the following line:
Allow from localhost
- Change the line to:
Allow from 127.0.0.1
- Save the file and restart your XAMPP server
- 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