Re: Best [non-PHP] way to redirect a browser
| From: | Kurt Lieber | Date: | Fri, 26 Oct 2001 17:44:42 +0000 |
| Subject: | Re: Best [non-PHP] way to redirect a browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72473@lists.php.net to get a copy of this message | ||
On Friday 26 October 2001 10:25, you wrote:
> What is the most reliable, browser-safe way to redirect the browser from a
> default index.html to, say, index.php? The I'm doing it now is with the
> following javascript:
The most reliable, browser-safe, non-PHP way to redirect mail is to do it
server-side. If you're using Apache, check out mod_rewrite -- it will do
exactly what you're looking for. Otherwise, I believe IIS has similar
facilities built into it.
--kurt