Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(?:app|storage|tests|tools)/ - [F,L]
RewriteRule ^config\.php$ - [F,L]
</IfModule>
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "DENY"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
</IfModule>
<FilesMatch "^(config\.php|README.*|VERIFICATION.*|MANIFEST.*)$">
Require all denied
</FilesMatch>
