DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42081>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42081

           Summary: text-based HeaderName and ReadmeName files that do not
                    include the word "the" are not displayed
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


If I configure HeaderName/ReadmeName to be just "HEADER" and "README"
respectively, and my HEADER/README file is of type text/plain, but does not
include the word "the" in it, Apache will not display it.

As it happens, it seems that mod_mime_magic considers the use of "the" to be
"English" which gets mapped to "text/plain".  I guess that's okay.  However, if
the document does not contain "the", mod_mime_magic doesn't know the type, and
Apache's DefaultType doesn't seem to get used (which, by default, should be
text/plain), so Apache doesn't display the file since it will only display
README/HEADER with content type "text/*".  If you access the README/HEADER file
directly, the web server returns the content type of "text/plain", so
DefaultType is used at some level. I think this is a bug.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to