Options -MultiViews RewriteEngine On # Never cache HTML entry points - otherwise browsers keep old JS that # requests /assets/* at domain root instead of /citpl_website/assets/* Header set Cache-Control "no-cache, no-store, must-revalidate" Header set Pragma "no-cache" # SPA fallback - serve index.html for non-file requests under /citpl_website RewriteBase /citpl_website/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.html [L]