Re: strange behaviour of Readme postamble

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

 



On 4/9/07, Jason Keltz <jas@xxxxxxxxxxxx> wrote:

As it happens, mod_mime_magic code maps "The" and "the" to L_ENG.
There's a table that says "English text" -> "text/plain".  As a result,
if you don't have the word "the" in the file, and the file is not html,
there doesn't seem to be anything else that would distinguish this file
as "text/plain".  There *is* a "DefaultType" directive which is by
default set to "text/plain", and this does indeed work since the web
browser gets served the file as text/plain when called directly, but
this looks like it is done "after" mod_mime_magic has returned a
"declined" status and hence has not displayed the file.  It seems like
an underlying bug.

The easiest thing to do is simply rename README to README.txt.
Otherwise, you can use
<Files README>
ForceType text/plain
</Files>

Joshua.

---------------------------------------------------------------------
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