RE: [PHP-WIN] PHP and HTML
| From: | Martijn Weisbeek | Date: | Tue, 08 May 2001 21:26:06 +0000 |
| Subject: | RE: [PHP-WIN] PHP and HTML | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7367@lists.php.net to get a copy of this message | ||
> Don't know a clean way how to get round this problem though (without
having
> to use redirects or similar things in the index.html)
I believe you can do so using a .htaccess on Apache. This comes from the
Apache-manual:
*** Redirect Now Usable in .htaccess Files ***
The Redirect directive can now be used in .htaccess files when the FileInfo
directive has been set on. This allows users to redirect parts of their
directories without requiring CGI scripts.
And from another part of the manual:
Example:
Redirect /service http://foo2.bar.com/service
Greetings,
Martijn Weisbeek
http://weisbeek.cjb.net