httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@collab.net>
Subject Re: www.apache.org configuration error ('Content-Encoding: x-gzip' for PGP sig) (fwd)
Date Wed, 07 Feb 2001 09:22:57 GMT

So, I fixed an issue this guy was seeing on the www.apache.org site with
the gz.asc files in http://www.apache.org/dist/ coming down as
Content-Encoding: gzip, and he's proposing that <Files> section be put in
httpd.conf-dist.  Not a bad idea, but I could use some validation before I
commit it...

	Brian

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
CollabNet     |    open source    |    do what's right    |     now hiring


---------- Forwarded message ----------
Date: Wed, 7 Feb 2001 09:52:25 +0100
From: Bodo Moeller <moeller@cdc.informatik.tu-darmstadt.de>
To: Brian Behlendorf <brian@apache.org>
Subject: Re: www.apache.org configuration error ('Content-Encoding: x-gzip'
    for PGP sig)

On Tue, Feb 06, 2001 at 10:13:50AM -0800, Brian Behlendorf wrote:
> On Tue, 6 Feb 2001, Bodo Moeller wrote:

>> Somethings like this is given as an example for RemoveEncoding.
>> This is, however, *not* in the default httpd.conf file!
>> I assume that you are in a better position than me to change
>> that :-)

> There is a strong hesitancy to add more to the default httpd.conf-dist -
> it's already pretty long.

Yes, this is a valid concern (httpd.conf.default certainly looked way
too long to me :-).  However I think it's not the plain number of
lines in httpd.conf.default that should be taken into account,
it's the complexity of that file that counts (the number of different
building blocks, their comprehensibility, and so on); and the
AddEncoding part in httpd.conf.default will still be easily
recognizable as a single building block of the configuration file if
those three additional lines are added:

    #
    # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
    # information on the fly. Note: Not all browsers support this.
    # Despite the name similarity, the following Add* directives have nothing
    # to do with the FancyIndexing customization directives above.
    #
    AddEncoding x-compress Z
    AddEncoding x-gzip gz tgz
    <Files *.asc>
          RemoveEncoding gz tgz Z
    </Files>

PGP signatures are not that uncommon, I'd think.


-- 
Bodo Möller <moeller@cdc.informatik.tu-darmstadt.de>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036














Mime
View raw message