Re: Re: mod_rewrite

David Triebe <[email protected]> Sat, 23 Apr 2005 16:43:12 +0200
Newsgroups gmane.comp.php.smarty.devel
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

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php