# Root rewrite so http://localhost/bizmtaani/ serves public/ on XAMPP.
# On production hosting, point the domain's document root at public/ instead and this file is not needed.
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
# never serve internal folders or secrets
RewriteRule ^(app|config|database|storage|lib|bin|cron|tests|docs)(/|$) - [F,L]
RewriteRule ^\.env - [F,L]
RewriteRule \.(sql|md|log|lock|json)$ - [F,L]
RewriteRule ^$ public/ [L]
RewriteRule ^(?!public/)(.*)$ public/$1 [L]
</IfModule>
