Re: some kind of redirection (not the header function)
| From: | Peter James | Date: | Thu, 11 Sep 2003 19:20:04 +0000 |
| Subject: | Re: some kind of redirection (not the header function) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162329@lists.php.net to get a copy of this message | ||
> I thought that maybe with some Apache stuff, but I don´t think thereś
> something that will help, since directives such as RedirectMatch, etc.
> rewrite the URL, and I don´t want that, I want the URL to remain
> http://www.domain.com/directoryX/whatever.php
mod_rewrite allows you to do internal redirects. This would keep your
user's URL the same, but actually point to a different page internally.
This is, of course, depends on whether you or your host have mod_rewrite
installed.