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

<FilesMatch "^(?:config(?:\.local(?:\.example)?)?\.php|migrate\.php|create-owner\.php|router\.php)$">
  Require all denied
</FilesMatch>

<FilesMatch "\.(?:sql|log|bak|ini)$">
  Require all denied
</FilesMatch>
