XAMPP: Access forbidden!

Posted on March 30, 2010

Initial setup for XAMPP Virtualhost gives this error:

“Access forbidden!

You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster. …”

To solve this:

- in \xampp\apache\conf\httpd.conf, modify:

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>

to:

<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

and everything should work ok!

Tags: ,

Leave a Reply

Ad Ad Ad Ad

My Twitterings

Posting tweet...