Antwort: [Mod_gzip] mod_gzip and mod_bandwidth.

Netforum.com.br - Gallery e-cards mod_gzip@lists.over.net
Thu, 14 Aug 2003 16:21:52 -0300


YOu must insert:

<Directory "drive/path/">
<ifmodule mod_gzip.c>
mod_gzip_on no
</ifmodule>
</directory>


Mike
----- Original Message ----- 
From: "Nacho" <ncc1701es@terra.es>
To: <mod_gzip@lists.over.net>
Sent: Thursday, August 14, 2003 15:14
Subject: Re: Antwort: [Mod_gzip] mod_gzip and mod_bandwidth.


> Hi Michael.
> 
> How did you that?
> 
> I have added to the .htaccess file:
> 
> <IfModule mod_gzip.c>
> mod_gzip_on no
> </IfModule>
> 
> But then I receive a "Internal Server Error" when loading the page and
> the error_log file says:
> 
> [Thu Aug 14 20:11:57 2003] [alert] [client 127.0.0.1]
> /home/nacho/public_html/japones/.htaccess: mod_gzip_on not allowed here
> 
> So it seems that it doesn't allow .htaccess control.
> 
> Thanks.
> 
> Michael.Schroepl@telekurs.de wrote:
> > 
> > Hi,
> > 
> > > disable mod_gzip in some directories (just excluding some filename or
> > mimetype doesn't help).
> > 
> > you should be able to use "mod_gzip_on no" in every possible
> > context, be that in some <Directory> container or even in a
> > .htaccess file.
> > 
> > I just tried that for myself, and yes I could 'disable' mod_gzip
> > in a .htaccess file.
> > Which means that mod_gzip would still be invoked but placed
> > "DECLINED:OFF" into its status field and did not try to compress
> > anything.
> > 
> > Regards, Michael
> > 
> > _______________________________________________
> > mod_gzip mailing list
> > mod_gzip@lists.over.net
> > http://lists.over.net/mailman/listinfo/mod_gzip
> _______________________________________________
> mod_gzip mailing list
> mod_gzip@lists.over.net
> http://lists.over.net/mailman/listinfo/mod_gzip