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

Bug#565626: apache2.2-common: incorrect Content-Type and/or Content-Encoding based on file extension



The basic problem here is that, conceptually if not physically, gzipping
a file does _not_ change its type, and .gz files should not be handled
as a separate mime type at all.  See the top of /etc/mime.types.

The .gz.gpg case may or may not be a problem, but following the
suggestion in mime.conf and enabling the AddEncoding directives _instead
of_ (not in addition to!) the AddType directives definitely yields a
configuration that is somewhat closer to sanity.  Without that,
firefox/iceweasel for one will royally screw up .txt.gz or .html.gz
files.  Try it.

-- 
Ian Zimmerman <itz@buug.org>
gpg public key: 1024D/C6FF61AD 
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Ham is for reading, not for eating.



Reply to: