Cannot see README.txt file http / web site using Apache/2.2.3 (Red Hat) Server

Barry Brimer lists at brimer.org
Wed Mar 11 12:54:32 UTC 2009


> Bizarre feature of red hat.  I don't know if it is a bug, or not.
> My co-worker puts README.txt file at /var/www/html/subdirectory and it
> is not viewable from web browser.  He renames the file to READ.ME.txt
> and we can see it from the web browser.  The permissions are correct
> (world readable) on both README.txt and READ.ME.txt .
>
> Is README.txt filtered out so that general web browser cannot see it?

Is SELinux enabled?  Perhaps the difference between copying / renaming the 
file has given the file a different context?  You might try a "restorecon 
-vR /var/www/html" or temporarily disabling SELinux "setenforce 0" and 
testing to see if the problem still exists.  What do your log files say?

Barry




More information about the redhat-list mailing list