# Arahkan semua request ke folder public
RewriteEngine On

# Paksa HTTPS (hapus tanda # di dua baris berikut setelah SSL aktif di hosting)
# RewriteCond %{HTTPS} off
# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
