# JHAPATECHNICAL License Server - Fallback for shared hosting where the document root
# cannot be pointed at /public. Prefer setting the document root to /public.
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(\.env|\.git|composer\.(json|lock)|artisan|storage|vendor|app|bootstrap|config|database|resources|routes|tests)(/|$) - [F,L]
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
<FilesMatch "^\.">
    Require all denied
</FilesMatch>
