# Root .htaccess: lets the app run even if the domain's docroot points at this folder
# instead of /public. All requests are routed into /public.
Options -Indexes
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(app|config|database|storage|vendor|cron)(/|$) - [F,L]
  RewriteRule ^(composer\.(json|lock)|README\.md|\.git.*)$ - [F,L]
  RewriteCond %{REQUEST_URI} !/public/
  RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
