RewriteCond %{REQUEST_URI} /index\\.phpRewriteRule (.*) index.php?rewrite=2 [L,QSA]RewriteCond %{REQUEST_URI} /$RewriteRule (.*) index.php?rewrite=1 [L,QSA]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?rewrite=1 [L,QSA]