>Number:         2448
>Category:       mod_mime
>Synopsis:       incorrect handling of .Z and .gz extensions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jun 15 12:10:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.1-dev snapshot 19980608130027
>Environment:
IRIX 6.2 (SGI)
>Description:
I am using the distributed mime.types file, and tar.Z files get the MIME type
text/html.  tar.gz files, on the other hand, get the type application/
octet-stream.  I am not using mod_mime_magic.  There are entries in mime.types
for application/x-compress and application/x-gzip but neither one has any
extensions listed for them.  Question 1: why are the extensions missing from
mime.types?  Question 2: why are the two kinds getting different results? (I
didn't check source code for this).  When I put
   AddType application/x-compress Z
   AddType application/x-gzip gz
in my .conf file then the tar.Z files get the correct type but the tar.gz files
still show application/octet-stream.  Question 3: why the difference?
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to