CentOS Apache 2.2.3 Directory index forbidden by Options directive
After installing Apache 2.2.3 on Centos 5.5, adding virtual domains with Directory indexes will not be possible and the apache welcome page will be displayed if there isn't an index file in the root directory of the vhost.
Quote:
Directory index forbidden by Options directive
This behavior can be fixed by editing /etc/httpd/conf.d/welcome.conf and change it from:
Code:
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
to
Code:
<LocationMatch "^/+$">
Options Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
Now, vhosts that don't have an index file (index.html or index.php) in their root directory and have directory indexes enabled, will display a list of files.