ArchLUG Kwiki - www.archlug.org

Download the RSS XML Feed for this site

Download the RSS XML Feed for this site

Subscribe to this channel with Amphetadesk

Subscribe to this channel with RadioUserland

Add to Google

ApacheAndReadmeFiles


Apache and README Files

Apache and HEADER Files

Q: Both the ReadmeName and HeaderName directives don't work in my Apache.

Nothing is appended to any directory listing while README and HEADER exist in the relevant directory and are readable to all users. I have Apache 1.3.9. As far as I can tell, my Apache configuration is okay. It is a pretty normal:

ReadmeName README
HeaderName HEADER

A: Try forcing the type of the README and HEADER files for the directory sections you want. E.g.:

<Directory /some/dir>
Options Indexes
AllowOverride None
order allow,deny
allow from all
<Files ~ "(README|HEADER)$">
 ForceType text/plain
 </Files>
</Directory>

You can also include these in the directory-specific portions of an .htaccess file as well.

Adapted from http://lists.debian.org/debian-user/2000/09/msg00125.html


Valid XHTML 1.0! Valid CSS!
InterTran (www.tranexp.com)
InterTran (www.tranexp.com)

Please MOVE AND HOLD your MOUSE CURSOR over any WORD in the translated web page in order to see a pop-up window with ALTERNATIVE TRANSLATIONS. Translations provided by: www.tranexp.com