# Super Admin subdomain document root (same folder as super-admin.html).
# 1) Root URL shows the panel (avoid stale index vs super-admin.html mismatch).
# 2) Strong cache-busting for HTML/JS/CSS (requires mod_headers on Apache).

<IfModule mod_rewrite.c>
  RewriteEngine On
  # Exact site root only — do not rewrite API or other paths.
  RewriteRule ^$ /super-admin.html [R=302,L]
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\.(html|htm|js|css)$">
    Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
    Header set Pragma "no-cache"
    Header set Expires "0"
  </FilesMatch>
</IfModule>
