[CentOS] Appache index error on CentOS-6,4

James B. Byrne

byrnejb at harte-lyne.ca
Mon Jun 10 13:30:07 UTC 2013


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 ?


-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the CentOS mailing list