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