httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@nueva.pvt.k12.ca.us>
Subject Re: cvs commit: apache/conf mime.types
Date Tue, 06 Aug 1996 03:53:26 GMT
On Mon, 5 Aug 1996, Brian Behlendorf wrote:

> >   Removed extensions from x-compress and x-gzip so that they won't
> >   conflict with the AddEncoding directives in srm.conf.
> 
> Um, I would have rather moved these into mime.types and removed from srm.conf
> than the other way around.  We should be trying to make the default config
> files as small and understandable as possible.

Uh... you can't add encodings in mime.types. The problem was that gz
and tar were defined in both places, so you ended up with, say, for a
resource called foo.html.gz:

Content-type: application/x-gzip
Content-encoding: x-gzip

Where what you really wanted was:

Content-type: text/html
Content-encoding: x-gzip

Removing the extensions from mime.types fixes that.

-- 
________________________________________________________________________
Alexei Kosut <akosut@nueva.pvt.k12.ca.us>      The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/   http://www.apache.org/


Mime
View raw message