RewriteEngine On 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^(.*)$ %{ENV:BASE}index.php [QSA,L]

<FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|rf)$">
Order Allow,Deny
Deny from all
</FilesMatch>

Allow From All
Satisfy Any