Access Forbidden (http://localhost/security/lang.php?en)

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

Access Forbidden (http://localhost/security/lang.php?en)

Postby zodehala » 20. January 2009 10:57

whenever i try to access to "http://localhost/security/lang.php?en" in Win XP_SP3 following error occur



Code: Select all

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
01/20/09 11:55:49
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8
zodehala
 
Posts: 22
Joined: 08. August 2006 12:39

Re: Access Forbidden (http://localhost/security/lang.php?en)

Postby Izzy » 20. January 2009 11:00

A forum search for security in the XAMPP For Windows forum will reveal the solution as it is a very popular issue.

You need to make 2 edits in the xampp\apache\conf\extra\httpd_xampp.conf file.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Access Forbidden (http://localhost/security/lang.php?en)

Postby gavintan » 01. February 2009 02:18

I have the same issue however this time I don't believe its anything to do without the configuration file. My htdocs folder is missing the security folder. I tried installing xampp thrice. It's just really bizzare, could this be a packaging error?

My htdocs folder only contain 'forbidden, xampp and restricted'. Anyone can shed some light on this?
gavintan
 
Posts: 1
Joined: 01. February 2009 02:07

Re: Access Forbidden (http://localhost/security/lang.php?en)

Postby Izzy » 01. February 2009 02:34

The security folder is not in the htdocs folder but in the C:\xampp folder, if that is where you installed XAMPP, for security reasons. ;)

If you re-installed into an existing xampp folder before stopping all XAMPP components and uninstalling any XAMPP services including the XCP before deleting the xampp older, then you may have created many issues that may only be resolved by once more uninstalling and making sure the above is observed.

After uninstalling the services, reboot before trying to install again and make sure that no XAMPP components or services are still running using the Task Manager and the Services Manager before attempting to re-install XAMPP.

TIP,
Don't elect to install services when using the installer version, these can be installed after a successful and tested install.

Also try an alternative install version like the EXE(7zip) or the zip version and extract to the root of a drive like C:\ for example and then simply run the setup_xampp.bat file to set all the paths.

Then test your installation by running all the demos from http://localhost
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 77 guests