httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42081] New: - text-based HeaderName and ReadmeName files that do not include the word "the" are not displayed
Date Tue, 10 Apr 2007 18:51:51 GMT
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: jas@cs.yorku.ca


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message