# Rename this file to .htaccess and place it in the ROOT of the lis-portal folder
# (i.e. public_html/lis-portal/.htaccess)
# This redirects all requests into Laravel's public/ subfolder.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /lis-portal/

    # If the request is for a real file or directory in public/, serve it directly
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # Route everything else through public/index.php
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
