HTTPD CONF FILE

 

Allow from self but DENY others

Header set Content-Security-Policy "frame-ancestors 'self';"


Allow from self and multiple domains

Header set Content-Security-Policy "frame-ancestors 'self' 'test.com' 'test.dev' 'test2.dev';"



Reason: CORS header 'Access-Control-Allow-Origin' missing

Header set Access-Control-Allow-Origin: https://www.ggggg.com/




RewriteEngine On

RewriteCond "%{HTTP_HOST}" "!^www\." [NC]

RewriteCond "%{HTTP_HOST}" "!^$"

RewriteCond "%{REQUEST_URI}" "^/shop/"

RewriteRule "^/?(.*)"      "https://www.%{HTTP_HOST}/$1" [L,R,NE]

Comments

Popular posts from this blog

Websphere Commerce Data Load using CSV \Websphere Commerce Data Load using XML

Websphere Commerce Catalog Subsystem

Calculation Framework in Websphere Commerce.