« OSCON 2006 Underway | Main | The Pain of Upgrading to Apache 2 for Perl (mod_perl) Folks »
July 25, 2006
Streaming Compressed Data with Apache Webserver
I'm fiddling with streaming compressed data from a set of Perl-driven web pages. I started working in our current webserver (Apache 1.3) where the clear choice seems to be Apache::Dynagzip.
This setup might be unique since we use Apache::Registry to get innocent CGI scripts to run in Apache with mod_perl, but you get the idea:
PerlModule Apache::Filter PerlModule Apache::Dynagzip <Files *.pl> SetHandler perl-script PerlSetVar Filter On PerlSendHeader Off PerlSetupEnv On PerlHandler Apache::RegistryFilter Apache::Dynagzip ... </Files>
The only problem with this approach is that when you turn off Perl's ability to send header information, it cripples scripts that might need to push out a redirect or error.
Looking at the Apache 2 approach using mod_deflate . . . could it be that there's finally a reason to leave Apache 1.3 behind? I've been using Apache 2 for years but never have attempted an upgrade when mod_perl was involved.
Posted by mike at July 25, 2006 3:58 PM
Hard Drive Recovery Group offers hard disk data recovery services for RAID, laptops and servers. Complete clean room and hard drive repair service.Trackback Pings
TrackBack URL for this entry:
http://mike.kruckenberg.com/mt/mt-tb.cgi/911