Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Shibi NS
I have following Location directive in my applications conf file PerlInitHandler ARULink::setup_request SetHandler perl-script PerlResponseHandler ARULink::handler PerlOptions +ParseHeaders +GlobalRequest Options ExecCGI AuthName

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Torsten Foertsch
On Tue 14 Oct 2008, Shibi NS wrote: > And the ARULink::MetalinkAuth::handler is > > sub handler > { > my ($req) = @_; > > my $status; > my $username; > my $userid; > my $email; > > # > # Create a Session object. > # > my $req_params = $req->args; > my $cgi

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread André Warnier
Hi. It usually helps for any kind of support issue, if you provide some information about where this is happening : what platform, which Apache version, which perl version, which mod_perl version, etc.. Now, below : > SetHandler perl-script is used when your purpose is to run a "

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread André Warnier
Torsten Foertsch wrote: On Tue 14 Oct 2008, Shibi NS wrote: And the ARULink::MetalinkAuth::handler is sub handler { my ($req) = @_; my $status; my $username; my $userid; my $email; # # Create a Session object. # my $req_params = $req->args; my $cgi

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Perrin Harkins
On Tue, Oct 14, 2008 at 4:28 AM, Shibi NS <[EMAIL PROTECTED]> wrote: > my $req_params = $req->args; > my $cgi= CGI->new($req_params); There's no need to do that. Just call CGI->new(). And make sure you have the latest version of CGI.pm from CPAN. - Perrin

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Shibi NS
Sorry I forgot this info, platform (Unix) : Red Hat Enterprise Linux AS release 3 (Taroon Update 8) Apache/2.2.9 mod_perl/2.0.4 CGI.pm version 3.15 Shibi Ns Perl/v5.8.8 On Tue, Oct 14, 2008 at 2:42 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Hi. > > It usually helps for any kind of support

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-15 Thread Perrin Harkins
On Wed, Oct 15, 2008 at 2:44 AM, Shibi NS <[EMAIL PROTECTED]> wrote: > CGI.pm version 3.15 Update. - Perrin

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-20 Thread Shibi NS
Thanks All for the valuable suggestions.my $cgi = CGI->new($req); fixed my issue :) On Thu, Oct 16, 2008 at 2:04 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 2:44 AM, Shibi NS <[EMAIL PROTECTED]> wrote: > > CGI.pm version 3.15 > > Update. > > - Perrin > -- --Shi