# Place this file as public_html/.htaccess ONLY if you cannot point the document root at /public.
# It forwards every request into Laravel's public/ folder and hides the framework files.
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
<FilesMatch "^(\.env|composer\.(json|lock)|artisan|phpunit\.xml|package\.json)$">
    Require all denied
</FilesMatch>
Options -Indexes
