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

2008-09-25 Thread titetluc titetluc
Does anyone has additional documentation on Apache2::SubRequest::run and Apache2::SubRequest::status returned values ? Gaetan 2008/9/22 titetluc titetluc <[EMAIL PROTECTED]> > 2008/9/19 Torsten Foertsch <[EMAIL PROTECTED]> > >> On Fri 19 Sep 2008, titetluc titetluc wrote: >> > > Does your mod_pe

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

2008-09-22 Thread titetluc titetluc
2008/9/19 Torsten Foertsch <[EMAIL PROTECTED]> > On Fri 19 Sep 2008, titetluc titetluc wrote: > > > Does your mod_perl one return Apache2::Const::REDIRECT at the end? > > > > No, the module returns Apache2::Const::MOVED_TEMPORARILY, setting the > > Location header by using $r->err_headers_out > >

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

2008-09-19 Thread Torsten Foertsch
On Fri 19 Sep 2008, titetluc titetluc wrote: > > Does your mod_perl one return Apache2::Const::REDIRECT at the end? > > No, the module returns Apache2::Const::MOVED_TEMPORARILY, setting the > Location header by using $r->err_headers_out $ perl -MApache2::Const=REDIRECT,HTTP_MOVED_TEMPORARILY -le '

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

2008-09-19 Thread titetluc titetluc
2008/9/18 Perrin Harkins <[EMAIL PROTECTED]> > 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 > >

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

[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();