# The web root must be public/. This file is a safety net in case it is not:
# it blocks direct access to app/, storage/ and .env if the document root is
# ever pointed at the project folder by mistake.
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(app|storage|vendor)/ - [F,L]
  RewriteRule ^\.env - [F,L]
</IfModule>
<FilesMatch "^\.">
  Require all denied
</FilesMatch>
