# ==========================================================
# SISFO FARMACIA
# ROOT .HTACCESS
# ==========================================================

Options -Indexes

<IfModule mod_rewrite.c>

    RewriteEngine On

    # Jangan redirect jika request sudah menuju public
    RewriteCond %{REQUEST_URI} !^/sisfo_farmacia/public/

    # Arahkan semua request ke folder public
    RewriteRule ^(.*)$ public/$1 [L]

</IfModule>