Re: [SMARTY-DEV] Re: mod_rewrite

[email protected] (David Triebe) Sat, 23 Apr 2005 16:43:12 +0200
Newsgroups php.smarty.dev
Message-ID <[email protected]>
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