strange behaviour of Readme postamble

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I'm experiencing some strange behaviour with the Header/Readme pre/postamble directives on our Apache 2.2.X server.

One of our users was complaining that he had placed two totally text README files in two separate directories on our server. When he visited the first directory in his web browser, he saw the directory contents followed by his "README" file. However, when he visited the second directory, the contents of the README file was not displayed. File/directory permission was not an issue. When I looked into the problem, I found that if a README (or HEADER) file contains html, it works great. However, if the file is plain text and does not include the word "the" that the file would not be displayed. For example, if I create a README file containing only the word "the", the file is displayed when I visit the directory. However, if I remove any one letters from "the", the file is not displayed. This seems really really weird, and I'm probably missing something very silly here. It looks like this is handled by the "emit_tail" function which should display anything text/*. The question is, how do I determine what the web server considers the content as? Anyone have any experience with this weird behaviour?

Jas.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux