On 10/6/07, Eli Shemer <[EMAIL PROTECTED]> wrote:
> $r->headers_out->set("Refresh"=>"0;url=index.pl");
>
> $r->headers_out;
> return Apache2::Const::OK;
>
> this method seems to be the best solution for me since
> 1. it works
> 2. I rather send an OK signal since it's not an actual warning/error but a
> valid redirect as part of the system.

There's no reason to avoid using a normal redirect in this case.  It's
not an error and will not be written to the error_log.  I'm not sure
all browsers will honor this trick you're using, but they definitely
will work with a standard 302 response.

- Perrin

Reply via email to