I am getting this error when trying to access a virtual website index by ip address and port on a host that has SELinux disabled (another issue over which I have less control than I wish):
curl http://192.168.6.9:41780 | more
Gives this error in /var/log/httpd/error_log
[Mon Jun 10 09:04:44 2013] [error] [client 192.168.6.9] Directory index forbidden by Options directive: /tftpboot/
and displays the default Centos/Apache server page instead of the list of files in the directory.
This virtual host is defined thus:
Listen 192.168.6.9:41780 <VirtualHost 192.168.6.9:41780> DocumentRoot "/tftpboot" <Directory "/tftpboot"> allow from all Options +Indexes </Directory> </VirtualHost>
If I specify a known file within /tftpboot then that file's contents are displayed properly. It is only the index that appears to fail.
So, what configuration error have I made? Why am I not getting a list of the contents of /tftpboot ?