Re: [SMARTY-DEV] Re: mod_rewrite
| From: | David Triebe | Date: | Sat, 23 Apr 2005 14:43:12 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: mod_rewrite | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2709@lists.php.net to get a copy of this message | ||
Hi Pete,
I've not that much experience with mod_rewrite, but I think, that the translation of GET-parameters won't work. You could write something like this into the .htaccess file:
RewriteEngine On
RewriteRule \.html$ index.php
Which would send every request that goes on a .html-page (no matter if existing or not) to the index.php. There you're able to parse the URI from $_SERVER['REQUEST_URI'] which should still be the requested one without any translations.
David