On Mar 9, 2006, at 6:13 PM, yperl wrote:
sub handler { my $r =shift; # tell the client what's coming $r->content_type('text/html'); # set the location $r->header_out( Location => 'http://www.google.fr' ); return Apache2::Const::REDIRECT; }
$r>headers_out->set(Location => $url); $r>status(Apache2::Const::REDIRECT); return Apache2::Const::REDIRECT; i *think* that method might need to use Apache2::SubRequest ();