Error - Directory index forbidden by Options directive?

antonpug picture antonpug · Apr 28, 2012 · Viewed 70.4k times · Source

I have been working on this server for the entire semester and have not changed any configuration options - the directories/files I created a couple weeks ago are still accessible, however any new directories, even exact duplicate of old working directories don't let me access them - get error "Directory index forbidden by Options directive". What is causing this?

Answer

John Conde picture John Conde · Apr 28, 2012

Looks like someone disabled directory listing in Apache. If you are allowed to override it with .htaccess just place an .htaccess file in your root web directory with this information:

Options +Indexes