DirectoryIndex index.php login.php

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L,QSA]
</IfModule>

<IfModule mod_authz_core.c>
  <FilesMatch "(^\.env|config\.local\.php|\.sql$|\.log$)">
    Require all denied
  </FilesMatch>
</IfModule>
