perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Schindl <tomAtLi...@gmx.at>
Subject Re: external redirect after internal redirect not working
Date Wed, 22 Mar 2006 11:18:59 GMT
Fred Moyer wrote:
> 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?
> 

This doesn't help but:

To the list you definately have to add Filters where one mp2 or Apache i
don't know doesn't care about the resturn value of the filter-handler.

Tom


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

Tom

Mime
View raw message