Octavian Rasnita wrote:
Is the following code correct?

$r->headers_out->set(Location => '/ss');

I have seen that if the "http://"; and the host name is not given, Internet
Explorer displays the page correctly, but I don't know if this will work
with all the browsers.

If you know more, please point me to some pages that talk about the
differences between an internal and an external redirect.

You may also set redirect status code using
$r->status(REDIRECT);
before
$r->send_http_header;

--
http://www.maxime.net.ru/  http://sochi.org.ru/

  • redirecting Octavian Rasnita
    • Re: redirecting Maxime Zakharov

Reply via email to