Re: [MP2]: strange behavior with Apache2::SubRequest::run

2008-09-18 Thread Perrin Harkins
On Thu, Sep 18, 2008 at 10:31 AM, titetluc titetluc <[EMAIL PROTECTED]> wrote: > I have 2 URIs returning HTTP_MOVED_TEMPORARILY > The first one, /test_mod_perl is written using mod_perl > The second one, /test_mod_cgi is written using CGI Does your mod_perl one return Apache2::Const::REDIRECT at t

Re: How to tell when mod_proxy backend request timed out?

2008-09-18 Thread Perrin Harkins
On Thu, Sep 18, 2008 at 12:17 PM, Adam Woodworth <[EMAIL PROTECTED]> wrote: > I'm using mod_perl 2.0.3 with Apache 2.2.9 and mod_proxy for reverse > proxying. Is there a way, from my mod_perl application, that I can > tell when the connection to the backend server in mod_proxy timed out? > I.e.,

Re: How to tell when mod_proxy backend request timed out?

2008-09-18 Thread Fred Moyer
Adam Woodworth wrote: I'm using mod_perl 2.0.3 with Apache 2.2.9 and mod_proxy for reverse proxying. Is there a way, from my mod_perl application, that I can tell when the connection to the backend server in mod_proxy timed out? I.e., mod_proxy made a connection to the backend, but the backend

Re: Why can't I access $r->server->timeout ?

2008-09-18 Thread Fred Moyer
Adam Woodworth wrote: If I do this with mod_perl 2.0.3 from inside my mod_perl application: print STDERR "timeout = " . $r->server->timeout() . "\n"; I get this: [Thu Sep 18 16:28:01 2008] [error] [client 192.168.1.40] Can't locate object method "timeout" via package "Apache2::ServerRec" at /v

Why can't I access $r->server->timeout ?

2008-09-18 Thread Adam Woodworth
If I do this with mod_perl 2.0.3 from inside my mod_perl application: print STDERR "timeout = " . $r->server->timeout() . "\n"; I get this: [Thu Sep 18 16:28:01 2008] [error] [client 192.168.1.40] Can't locate object method "timeout" via package "Apache2::ServerRec" at /var/httpd/lib/perl/SiteSp

How to tell when mod_proxy backend request timed out?

2008-09-18 Thread Adam Woodworth
I'm using mod_perl 2.0.3 with Apache 2.2.9 and mod_proxy for reverse proxying. Is there a way, from my mod_perl application, that I can tell when the connection to the backend server in mod_proxy timed out? I.e., mod_proxy made a connection to the backend, but the backend didn't respond in the co

[MP2]: strange behavior with Apache2::SubRequest::run

2008-09-18 Thread titetluc titetluc
Hello all, I have 2 URIs returning HTTP_MOVED_TEMPORARILY The first one, /test_mod_perl is written using mod_perl The second one, /test_mod_cgi is written using CGI I call each of these URIs using a Apache2::SubRequest object my $subr1 = $r->lookup_uri('/test_mod_perl'); my $rc1 = $subr1->run();

Re: How to pass the post data to a script

2008-09-18 Thread Felipe de Jesús Molina Bravo
maybe can help you $r->args() see you 2008/9/17 grsvarma019 <[EMAIL PROTECTED]> > > Hi, > > I am using mod_perl2 for authentication. > > In this, when a request is made to a script in a particular directory, the > control will go through mod_perl authentication. > Once mod_perl returns OK as a