# Send every non-file request to index.php (works in a subfolder too).
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
</IfModule>
# Never serve these even if present.
<FilesMatch "^(\.|.*\.(env|ini|log|sql|bak|lock|md)$)">
Require all denied
</FilesMatch>
