Re: redirect pages
| From: | Yasuo Ohgaki | Date: | Tue, 27 Feb 2001 05:27:26 +0000 |
| Subject: | Re: redirect pages | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41796@lists.php.net to get a copy of this message | ||
SNIP
>
> I mean, of course
> header("Location: page.php");
>
> Must teach fingers to wait for brain to engage :-)
According to RFC2616, 'Location: ' header must be absolute URI (i.e.
http://example.com/test.html), most browser works with
relative URI, though.
'Content-Location: ' can be both absolute and relative. Someone mentioned
Apache's response header differ when 'Location: ' header is absolute and
relative. he/she said when 'Location: ' is realative Apache send Status:
200, when it is abosolute apache send Status: 302. (I didn't confirm this,
though)
Just FYI.
Regards,
--
Yasuo Ohgaki