ApacheAndReadmeFilesApache and README FilesApache and HEADER FilesQ: 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 |
||||
|
||||