Re: unsubscribe

2010-11-22 Thread Jeff Pang
unsubscribe from the list, send an empty message to: modperl-unsubscr...@perl.apache.org Jeff Pang http://blog.sina.com.cn/pajeu - Original Message - From: biao zhou To: Subject: unsubscribe Date: 2010-11-23 07:52:02

unsubscribe

2010-11-22 Thread biao zhou

Re: Mod-jk worker not being called after calling Perl handler

2010-11-22 Thread Ryan Gies
You should be putting "use strict;" at the top of your Perl files (which would have reported the following error) The constant is DECLINED, not DECLINE On 11/22/2010 12:53 PM, Mohit Anchlia wrote: I tried package Apache2::Rules2; #use lib '/home/.mohit/mod_perl-2.0.4/lib'; use Apache2::Const

Re: Mod-jk worker not being called after calling Perl handler

2010-11-22 Thread Mohit Anchlia
I tried package Apache2::Rules2; #use lib '/home/.mohit/mod_perl-2.0.4/lib'; use Apache2::Const qw(:common); use Apache2::RequestRec (); use Apache2::RequestIO (); sub handler { my $r = shift; #$r->content_type('text/plain'); #$r->print("mod_perl rules!\n"); return DECLINE; # We must return a stat

Log4perl with and without mod_perl

2010-11-22 Thread E R
I was wondering if anyone has come up with a solution to this problem: 1. You have a mod_perl application and use Log4perl for logging. 2. There is a module in your mod_perl app that you want to use outside of the mod_perl environment (e.g. in a script run from the command line) 3. That module use