skip to Main Content

i want to add custom header in dispatcher configuration in Adobe Experience Manager as a Cloud Service I m adding this configuration

Header set X-XSS-Protection "1; mode=block"

when i m deploying the changes its not getting visible on dev domain
same thing is working on adobe managed services

I have tried multiple approachrs.
is there any specific file that we can set customizable header in Adobe Experience Manager as a Cloud Service?
E.g.: I m adding here dispatchersrcconf.davailable_vhosts
or we don’t have access to do it to set headers

2

Answers


  1. You should try here: /conf.dispatcher.d/clientheaders/clientheaders.any

    Login or Signup to reply.
  2. You should add it into enabled_vhosts

    /dispatcher/src/conf.d/enabled_vhosts/your_site.vhost

    <IfModule mod_headers.c>
        Header set X-XSS-Protection "1; mode=block"
    </IfModule>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search