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(); ==========> $rc1 = 302
my $status1 = $subr1->status(); ==========> $status1 = 200
my $subr2 = $r->lookup_uri('/test_mod_cgi');
my $rc2 = $subr2->run(); ==========> $rc1 = 0
my $status2 = $subr2->status(); ==========> $status1 = 302
Why this behavior ? Why are there differences between the 2 URIs ?
IMHO, the second behavior is the correct one.
What is your opinion ???
Thanks