# Route anything that isn't a real file or directory to the front controller. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [QSA,L] # Don't leak the .env or composer files if someone mis-configures the docroot. Require all denied