In an Apache::Registry ErrorDocument (e.g. ErrorDocument 404 /my404.pl )
This doesn't work:
$r->header_out('Location', $newurl);
$r->status(302);
return OK;
Apache returns an error saying that my 404 handler returned a 302 error.
Does the same if I use err_header_out
Yet enabling "PerlSendHeader On" and doing: print "Location: $newurl\n\n"; works fine. I'd prefer to get the first way working - any ideas? Carl
