Archive for the ‘XAMPP’ Category

Access forbidden!

Thursday, September 3rd, 2009

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:

- on \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>