Letupan

Catch the next wave!

March 15, 2009 at 6:41am
Home

Fedora 10: Permission denied when accessing localhost

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Abovemay have been your default setup in httpd.conf

Change AllowOverride to All. It will remove the error. When you are doing this on a production server, better refine those None to specific combination of Options FileInfo AuthConfig Limit

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>