> > Yet enabling "PerlSendHeader On" and doing:
> >
> > print "Location: $newurl\n\n";
> >
> > works fine.
>
> What are the complete headers that sends? I'm guessing it sends a 200
> status and it only works because your browser is broken and follows the
> redirect anyway.
No, it does convert t
On Fri, 2006-03-17 at 16:41 +, Carl Johnstone wrote:
> 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 ret
Not sure but give err_headers_out a try?
Tom
Carl Johnstone wrote:
>
> 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