# Only used when the web root points at this folder instead of public/ (e.g. shared hosting).
# Everything is served from public/; application files are never reachable over the web.
Options -Indexes
RewriteEngine On
RewriteRule ^(app|bin|build|config|database|docs|extensions|lang|storage|themes|tools|views|vendor)(/|$) - [F,L]
RewriteRule ^(VERSION|README\.md|pipe\.php|\.git.*)$ - [F,L]
RewriteCond %{REQUEST_URI} !/public/
RewriteRule ^(.*)$ public/$1 [L]
