Not able to see x-dispatcher param in response headers | Community
Skip to main content
Level 2
January 17, 2021
Solved

Not able to see x-dispatcher param in response headers

  • January 17, 2021
  • 3 replies
  • 1712 views

Hi, 

i am not able to see the value of x-dispatcher (used to see which dispatcher is serving request)parameter info in the response headers when i see chrome console, does any config exist to enable/disable it in dispatcher files??

 

Thanks,

Shivam

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

You need to enable the /info property in dispatcher farm file. Reference - https://stackoverflow.com/questions/43461109/examine-cq-dispatcher-from-client 

3 replies

Kunal_Gaba_
Kunal_Gaba_Accepted solution
January 18, 2021

You need to enable the /info property in dispatcher farm file. Reference - https://stackoverflow.com/questions/43461109/examine-cq-dispatcher-from-client 

Vijayalakshmi_S
Level 10
January 18, 2021

Hi @shivama92274331,

X-Dispatcher is added explicitly using mod_headers.c module in vhost file in <VirtualHost.. entry or can be added at CDN level if you have one.

<IfModule mod_headers.c>
Header add X-Dispatcher <<dispatchername>>
</IfModule>

If this entry is available and still not available in response headers, share the webserver and dispatcher version details to debug further.

Level 2
January 28, 2021

Hi @vijayalakshmi_s 

Thanks for your reply, it worked after adding Header always add X-Dispatcher ${DISP_ID} in vhost file.