<IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php [L,NC] </IfModule> <Files config.ini> order allow,deny deny from all </Files>