# If your hosting cannot point the document root at /public,
# this blocks direct access to sensitive folders as a fallback.
# Prefer setting the domain's document root to /public instead.

RewriteEngine On
RewriteRule ^(app|config|database|\.env)($|/) - [F,L]
