Options -Indexes
RewriteEngine On

# Block sensitive files
RewriteRule ^(config|app|views|storage|routes)/ - [F,L]
RewriteRule ^\.env - [F,L]

# Route everything to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
