Options -Indexes +FollowSymlinks

DirectoryIndex index.php

<FilesMatch ".(htaccess|htpasswd|cfg|ini|lock|cache|MD|gitignore|conf)$">
 Order Allow,Deny
 Deny from all
</FilesMatch>

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