Re: Barrier to implementing web content compression in mod_perl

2005-02-01 Thread Rob Mueller
I'm surprised nobody has mentioned this yet on the list, but one approach I'd recommend is going to 2 separate apache servers. A light frontend one that does all the SSL/compression work, and a heavy backend mod_perl one. http://modperlbook.org/html/ch12_01.html This works fantastic for us, and

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Mon, 31 Jan 2005 17:55:27 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, 2005-01-31 at 21:23 +, Alex Greg wrote: > > I'm using Apache::RegistryFilter: > > > > PerlHandler Apache::RegistryFilter Apache::Dynagzip > > > > See the attached httpd.conf for full context etc. > > Does t

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Perrin Harkins
On Mon, 2005-01-31 at 21:23 +, Alex Greg wrote: > I'm using Apache::RegistryFilter: > > PerlHandler Apache::RegistryFilter Apache::Dynagzip > > See the attached httpd.conf for full context etc. Does this actually work without the filitering? I see a use of ScriptAlias in there, which usuall

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Mon, 31 Jan 2005 15:34:05 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Sun, 2005-01-30 at 21:54 +, Alex Greg wrote: > > The problem I have found is that when I modify print_content_type as > > follows: > > > > sub print_content_type > > { > > my ($content_type) = @_; > > > >

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Perrin Harkins
On Sun, 2005-01-30 at 21:54 +, Alex Greg wrote: > The problem I have found is that when I modify print_content_type as follows: > > sub print_content_type > { > my ($content_type) = @_; > > my $r = Apache->request(); > > $r = $r->filter_register; > $fh = $

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Geoffrey Young
> Can anything be done to address the filter problems in MP1? not really from the perspective of the mp1 api - we've considered changing that behavior before, and IIRC philippe even produced a patch, but we considered it too risky for the stable branch. that said, we can certainly try to help yo

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Sun, 30 Jan 2005 23:02:53 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > 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

Re: Barrier to implementing web content compression in mod_perl

2005-01-30 Thread Stas Bekman
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 B

Barrier to implementing web content compression in mod_perl

2005-01-30 Thread Alex Greg
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. Our application is a (I assume) fairly typical Apache::Registry application. It used to run under mod_cgi but we're now running it under mod_p