Re: Apache Client Filehandle

[prev] [thread] [next] [Date index for 2005/01/27]

From: Geoffrey Young
Subject: Re: Apache Client Filehandle
Date: 17:00 on 27 Jan 2005
please keep posts on-list so everyone can benefit :)

> Thanks for the sugestion; my handler has a flag that is set in an
> application specific config file (not the apache.conf or any included
> files therein) that should be able to turn off compression.

what you could do in that case is just disable mod_deflate:

  $r->subprocess_env('no-gzip' => 1) if $some_custom_condition;

the trick is, you need to do it before the PerlResponseHandler phase, such
as from a PerlFixupHandler.

> 
> My module may even cache it's contents...
> 
> Seems that to use mod_deflate with my application specific flag, I'll
> have to reconfigure the server config of mod_deflate at runtime whenever
> the flag is overriding the default right?

no, not the server config.  see above :)

HTH

--Geoff

Apache Client Filehandle
Leo 14:27 on 27 Jan 2005

Re: Apache Client Filehandle
Geoffrey Young 14:30 on 27 Jan 2005

Re: Apache Client Filehandle
Geoffrey Young 17:00 on 27 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52