From c532165c3897ba45e33cbdbb7242ce6fabef1f69 Mon Sep 17 00:00:00 2001 From: sandhiya-hepl Date: Thu, 16 Jul 2026 14:26:22 +0530 Subject: [PATCH] htaccess fille remove --- dist/.htaccess | 21 --------------------- public/.htaccess | 21 --------------------- 2 files changed, 42 deletions(-) diff --git a/dist/.htaccess b/dist/.htaccess index 6859942..e69de29 100644 --- a/dist/.htaccess +++ b/dist/.htaccess @@ -1,21 +0,0 @@ -# Deployed under /citpl_website/ - Apache must proxy API to the Node server. -# Requires: mod_rewrite, mod_proxy, mod_proxy_http, mod_headers -# Start Node on the host: npm run server (or pm2 start server/index.js) - - - RewriteEngine On - RewriteBase /citpl_website/ - - # Proxy API + uploads to Express (Node) on port 3001 - RewriteRule ^api/(.*)$ http://127.0.0.1:3001/api/$1 [P,L] - RewriteRule ^uploads/(.*)$ http://127.0.0.1:3001/uploads/$1 [P,L] - - -# Force-remove any inherited CSP/XFO headers, then set our own. - - Header unset X-Frame-Options - Header always unset X-Frame-Options - Header unset Content-Security-Policy - Header always unset Content-Security-Policy - Header always set Content-Security-Policy "frame-ancestors 'self' https://demo.cavinkare.in" - diff --git a/public/.htaccess b/public/.htaccess index 6859942..e69de29 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,21 +0,0 @@ -# Deployed under /citpl_website/ - Apache must proxy API to the Node server. -# Requires: mod_rewrite, mod_proxy, mod_proxy_http, mod_headers -# Start Node on the host: npm run server (or pm2 start server/index.js) - - - RewriteEngine On - RewriteBase /citpl_website/ - - # Proxy API + uploads to Express (Node) on port 3001 - RewriteRule ^api/(.*)$ http://127.0.0.1:3001/api/$1 [P,L] - RewriteRule ^uploads/(.*)$ http://127.0.0.1:3001/uploads/$1 [P,L] - - -# Force-remove any inherited CSP/XFO headers, then set our own. - - Header unset X-Frame-Options - Header always unset X-Frame-Options - Header unset Content-Security-Policy - Header always unset Content-Security-Policy - Header always set Content-Security-Policy "frame-ancestors 'self' https://demo.cavinkare.in" -