We had a VirtualHost defined for a simple website; we wanted to enable directory browsing for this (password protected) site. Simple, right? Despite all of my Google searching, adding "Options Indexes", "Options +Indexes", "Allow Overrides" and adding .htaccess files, we were unable to get directory browsing working. A quick look at the http error_log revealed this error:
Directory index forbidden by Options directive: /path/to/files
Our VirtualHost config, looked like this (below); it was all good, so that error turned out to be very misleading.
<Directory /path/to/files>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from ...
Recent comments