RewriteEngine On

Options -Indexes

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php [QSA,L]

<FilesMatch "\.(env|ini|log|sql)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value max_execution_time 300

Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"