From: <per...@cl...> - 2002-12-31 15:25:34
|
Hello all. I've got this weird problem with Mason plus Apache::Compress and Apache::Dynagzip. All three work great alone, but when I try combining Mason with either compression modules Opera and Mozilla spit out the HTTP/1.1 header along with the gzip'd data. Upon viewing the source in Opera and Mozilla, I can see that \n is being translated into \n\c. When I use Mason, Apache::Compress, or Apache::Dynagzip alone, no newline translation is done. Oh, and I'm completely in Linux. No Windows server or client is involved. I'm using: Apache/1.3.27 (Unix) PHP/4.2.3 mod_perl/1.27 mod_ssl/2.8.12 OpenSSL/0.9.6g HTML::Mason 1.16 Apache::Filter 1.021 Apache::Compress 1.003 Apache::Dynagzip 0.08 My Apache config is very simple: PerlModule HTML::Mason::ApacheHandler PerlModule Apache::Filter PerlModule Apache::Dynagzip <Directory /web/1> <FilesMatch "\.html$"> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler Apache::Dynagzip PerlSetVar Filter On PerlSetVar LightCompression On </FilesMatch> </Directory> <Directory /web/2> <FilesMatch "\.html$"> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler Apache::Compress PerlSetVar Filter On </FilesMatch> </Directory> Any ideas or suggestions would be appreciated. Thanks! |