Re: Gzip compression for dynamically generated content

2004-11-26 Thread Slava Bizyayev
Sorry Alex, I hit a wrong button in my previous response. It looks like your script is a CGI script that sends own CGI Content-Type. In order to use Apache::Filter chain you need to make your script Apache::Filter compatible. It might be as simple as to comment the print of Content-Type in your sc

Re: Gzip compression for dynamically generated content

2004-11-26 Thread Jens Gassmann
Hi Alex, Can anyone shed any light on this, or suggest an alternative way to dynamically compress the output from mod_perl? We are using Compress::Zlib use Compress::Zlib my $compress = Compress::Zlib::memGzip($output); my $length = length($compress); my $header = "Content-Type: text/html\n"; $

Gzip compression for dynamically generated content

2004-11-26 Thread Alex Greg
Hi, I've been looking into using gzip to compress the output from our mod_perl servers. After a bit of research, I decided to use Apache::Dynagzip. My configuration is as follows: SetHandler perl-script PerlHandler Apache::RegistryFilter Apache::Dynagzip PerlSetVar Filte