# QualiLearn Root Configuration
RewriteEngine On

# Redirect to public folder if accessing root (optional, depending on cPanel setup)
# RewriteRule ^$ public/index.html [L]
# RewriteCond %{REQUEST_URI} !^/public/
# RewriteRule ^(.*)$ public/$1 [L]

# Force HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
