# Use ONLY if the domain's document root cannot point to /public.
# Copy this file to the project root as ".htaccess".
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
# Never serve these directly
<FilesMatch "^(\.env|env\.production\.example|composer\.(json|lock)|spark|preload\.php)$">
    Require all denied
</FilesMatch>
