# This project's document root should point to the /public folder.
# This file is a safety net in case a server is misconfigured to point
# at the project root instead — it denies direct access to everything
# except the /public subfolder and .env.example.
Options -Indexes
<FilesMatch "^\.env$">
    Require all denied
</FilesMatch>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^ - [F]
