You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Roy Fielding <fi...@hyperreal.com> on 1996/08/04 11:26:08 UTC

cvs commit: apache/conf mime.types

fielding    96/08/04 02:26:08

  Modified:    conf      mime.types
  Log:
  Submitted by: Roy Fielding
  Removed extensions from x-compress and x-gzip so that they won't
  conflict with the AddEncoding directives in srm.conf.
  
  Revision  Changes    Path
  1.5       +2 -2      apache/conf/mime.types
  
  Index: mime.types
  ===================================================================
  RCS file: /export/home/cvs/apache/conf/mime.types,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -C3 -r1.4 -r1.5
  *** mime.types	1996/06/07 23:10:15	1.4
  --- mime.types	1996/08/04 09:26:06	1.5
  ***************
  *** 25,37 ****
    application/wordperfect5.1
    application/x-bcpio		bcpio
    application/x-cdlink		vcd
  ! application/x-compress		Z
    application/x-cpio		cpio
    application/x-csh		csh
    application/x-director		dcr dir dxr
    application/x-dvi		dvi
    application/x-gtar		gtar
  ! application/x-gzip		gz
    application/x-hdf		hdf
    application/x-httpd-cgi		cgi
    application/x-koan		skp skd skt skm
  --- 25,37 ----
    application/wordperfect5.1
    application/x-bcpio		bcpio
    application/x-cdlink		vcd
  ! application/x-compress
    application/x-cpio		cpio
    application/x-csh		csh
    application/x-director		dcr dir dxr
    application/x-dvi		dvi
    application/x-gtar		gtar
  ! application/x-gzip
    application/x-hdf		hdf
    application/x-httpd-cgi		cgi
    application/x-koan		skp skd skt skm
  
  
  

Re: cvs commit: apache/conf mime.types

Posted by Brian Behlendorf <br...@organic.com>.
On Mon, 5 Aug 1996, Alexei Kosut wrote:
> 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. 

D'oh!  Time for my medication!

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS


Re: cvs commit: apache/conf mime.types

Posted by Alexei Kosut <ak...@nueva.pvt.k12.ca.us>.
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 <ak...@nueva.pvt.k12.ca.us>      The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/   http://www.apache.org/


Re: cvs commit: apache/conf mime.types

Posted by Brian Behlendorf <br...@organic.com>.
On Sun, 4 Aug 1996, Roy Fielding wrote:
> fielding    96/08/04 02:26:08
> 
>   Modified:    conf      mime.types
>   Log:
>   Submitted by: Roy Fielding
>   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.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS