[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    mod_perl Redirect Error
From:       Rasoul Hajikhani <rasoul () rhythm ! com>
Date:       2003-06-26 19:02:09
[Download RAW message or body]

Hello there,
We have just upgraded to :

Apache/1.3.27 Ben-SSL/1.48 (Unix) PHP/4.2.3 mod_perl/1.27 configured

Running perl 5.6.1.

I am getting 302 error message on my redirects. This comes as a complete 
  surprise since the same piece of code works just fine on:

Apache/1.3.14 Ben-SSL/1.42 (Unix) PHP/4.0.3pl1 mod_perl/1.24_01 configured

Here is my code:

$r->headers_in->unset("Content-length");
         $r->header_out(Location => "$uri");
         $r->status(REDIRECT);
         $r->send_http_header;
         return REDIRECT;

I am not sure where to begin debugging. I first wanted to check w/ you 
guys to see if there are any quick fixes.
I appreciate any feed back.
-r

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic