Options -Indexes
RewriteEngine On
RewriteRule ^(app|config|database|legacy|vendor|storage|tests|docs)/ - [F,L,NC]
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/$1 [L]
