in reply to Re: perl filter for redirection
in thread perl filter for redirection

PerlOutputFilterHandler working with <directory> as well. Tested with similar filter.
I have no idea why this won't work
$r->headers_out->set(Location => $location);
Headers are not set

Replies are listed 'Best First'.
Re^3: perl filter for redirection
by mrc (Sexton) on Mar 24, 2010 at 18:54 UTC
    Problem seems related to
    Apache2::Const::REDIRECT
    If I replace it to
    Apache2::Const::OK
    I can set "Location", but redirection won't really work because response is 200 not 302. The same problem with
    Apache2::Const::HTTP_TEMPORARY_REDIRECT
    Nothing working except Apache2::Const::OK :(
    Any input will be greatly appreciated.