perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John ORourke <john-modp...@o-rourke.org>
Subject return value for response handler
Date Tue, 10 Jun 2008 07:41:40 GMT
Hi folks,

I had a bug with an interesting side effect which I want to understand.

I wanted to redirect the user's browser, and in my response handler I 
was setting $r->status(302) but returning Apache2::Const::OK instead of 
the correct Apache2::Const::DONE.

This caused Apache to perform an internal redirect.  Can someone explain 
what was happening in terms of handlers and subrequests or point me to 
the right doc page?

thanks
John


Mime
View raw message