On Tue, 12 Jun 2012, Bertrand FRUCHET wrote:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Only the last line is a regular expression, and actually... the point is that you should know what these rules do. It seems that a simple:

FileExist => List & Send
Default => Redirection, Internal ^/(.*) => index.php?_route_=$1

...could already do the trick.


Stefan
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee


!DSPAM:1,4fd74f21199536468934314!
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to