<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /public/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([A-Za-z0-9\\\/\-\_\+]+)$ index.php?uri=$1 [QSA,L]
info at phpclasses dot org