perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: external redirect after internal redirect not working
Date Wed, 22 Mar 2006 09:13:23 GMT
Michael Greenish wrote:
 > use strict;
[..]
> # redirect
> $r->headers_out->set( Location => $redirectURL );
> $r->status( REDIRECT );
 > return REDIRECT;

I see a few things here that catch my eye but what stands out the most 
is the use of the same return code for the browser and apache.  why are 
you using $r->status?  Is it one of the reasons listed here?

http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_status_

Mime
View raw message