image 404 issue

This commit is contained in:
sandhiya-hepl
2026-07-20 11:44:50 +05:30
parent 8f163d4933
commit 728139b69a
14 changed files with 55 additions and 25 deletions
+10 -1
View File
@@ -1,7 +1,16 @@
Options -MultiViews
RewriteEngine On
# SPA fallback — serve index.html for non-file requests under /citpl_website
# Never cache HTML entry points - otherwise browsers keep old JS that
# requests /assets/* at domain root instead of /citpl_website/assets/*
<IfModule mod_headers.c>
<FilesMatch "\.(html)$">
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
# SPA fallback - serve index.html for non-file requests under /citpl_website
RewriteBase /citpl_website/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d