Re: Barrier to implementing web content compression in mod_perl

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

From: Stas Bekman
Subject: Re: Barrier to implementing web content compression in mod_perl
Date: 04:02 on 31 Jan 2005
Alex Greg wrote:
> Hi,
> 
> 
> I've been trying for some considerable time now to implement web
> content compression for our application, but it seems impossible
> without a rewrite.
[...]
> Has anyone else come across this problem, or can suggest a solution or
> alternative approach? I've discussed it with Slava Bizyayev
> (http://marc.theaimsgroup.com/?l=apache-modperl&m=110435780804427&w=2)
> before, but I can't rework our application code into a handler as
> there's far too much of it. I've also emailed Ken Williams regarding
> the "Not a HASH reference" error, but the solution he suggested (using
> "$r = Apache->request->pnotes('filterobject')" instead of "$r =
> Apache->request" produced the same error.

Why not switch to modperl2, where filters work better?
http://perl.apache.org/docs/2.0/user/handlers/filters.html


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: Barrier to implementing web content compression in mod_perl
Stas Bekman 04:02 on 31 Jan 2005

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