# If your host serves the project folder rather than public/, send everything to public/.
# Best practice is still to point the document root at public/ directly.
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(config|src|storage|database|bin|docs)(/|$) - [F,L]
  RewriteCond %{REQUEST_URI} !^/public/
  RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
<FilesMatch "^\.|\.(sql|md|lock|log|enc)$">
  Require all denied
</FilesMatch>
