Posts tagged Directory index forbidden by Options directive

Directory Index Forbidden Error

When you get this error :
[Tue Dec 15 08:21:42 2009] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /home/domainusername/public_html/
[Tue Dec 15 08:21:54 2009] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /home/domainusername/public_html/

then just add the following code in the .htaccess file :

DirectoryIndex index.html
or
DirectoryIndex index.php

That’s all this will do it.