Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

<FilesMatch "(^config\.php$|\.(sql|log|md)$)">
  Require all denied
</FilesMatch>

<FilesMatch "^\.ht">
  Require all denied
</FilesMatch>
