Hi all,
I'm having a problem with my Apache VirtualHosts... I can't get the Directory index to work.
The error is:
[Sun Jan 26 10:30:29 2014] [error] [client 192.168.0.1] Directory index forbidden by Options directive: /var/www/html/apache/
But when I check the configuration, it seems like everything is ok.
/etc/httpd/conf.d/vhost-apache.conf:
Code:
<VirtualHost *:80>
ServerAdmin noc@xxx.com
DocumentRoot /var/www/html/apache
ServerName apache.xxx.xxx.com
ErrorLog /var/log/httpd/apache.xxx.xxx.com-error_log
CustomLog /var/log/httpd/apache.xxx.xxx.com-access_log common
</VirtualHost>
<Directory "/var/www/html/apache">
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
HeaderName HEADER.html
ReadmeName README.html
AllowOverride FileInfo Indexes
Options +Indexes SymLinksIfOwnerMatch FollowSymLinks
ErrorDocument 404 default
</Directory>
In the main httpd.conf is no entry available which says "-Indexes"..:
Code:
[root@xxx httpd]# grep -i "indexes" /etc/httpd/conf/httpd.conf
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
Options Indexes FollowSymLinks
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Options Indexes MultiViews FollowSymLinks
# server-generated indexes. These are only displayed for FancyIndexed
# directory indexes.
Anybody with a clue on this one?