Re: mod_gzip + LogHandler
Thanks slava, I will give that gzip handler a try. Tor. Slava Bizyayev wrote: Hi Victor, On Wed, 2004-12-15 at 02:11, victor wrote: The functoin served me well until I start enabling mod_gzip for apache. It appears that with mod_gzip turned on, the Environment I have setup for some reason is no longer available. I have tried to switch to notes and ened with the same result. Do anyone has any idea why this is happening and/or know any work around? You can configure mod_gzip on separated proxy if you really need it. Alternatively, you can use mod_perl gzip handlers. See http://perl.apache.org/docs/tutorials/client/compression/compression.html for details. Thanks, Slava -- !- Victor Development Engineer Outblaze Ltd -- -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: mod_gzip + LogHandler
Hi Victor, On Wed, 2004-12-15 at 02:11, victor wrote: The functoin served me well until I start enabling mod_gzip for apache. It appears that with mod_gzip turned on, the Environment I have setup for some reason is no longer available. I have tried to switch to notes and ened with the same result. Do anyone has any idea why this is happening and/or know any work around? You can configure mod_gzip on separated proxy if you really need it. Alternatively, you can use mod_perl gzip handlers. See http://perl.apache.org/docs/tutorials/client/compression/compression.html for details. Thanks, Slava -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
mod_gzip + LogHandler
Hi, I have been using log handler to setup some Environment variable to be logged into apache log with a customized log format. ie. In apache conf -- ... PerlLogHandler My::Logger ... LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ \%{username}e\ custom2 in startup.pl sub My::Logger { my ($r) = @_; (defined $ENV{LOGIN}) ($r-subprocess_env(username = $ENV{LOGIN})); } The functoin served me well until I start enabling mod_gzip for apache. It appears that with mod_gzip turned on, the Environment I have setup for some reason is no longer available. I have tried to switch to notes and ened with the same result. Do anyone has any idea why this is happening and/or know any work around? Many thanks. Tor. -- !- Victor Development Engineer Outblaze Ltd -- -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html