Not able to see x-dispatcher param in response headers

Avatar

Avatar

shivama92274331

Avatar

shivama92274331

shivama92274331

17-01-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

kunal23

MVP

Avatar

kunal23

MVP

kunal23
MVP

17-01-2021

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

Answers (2)

Answers (2)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

18-01-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.

Avatar

Avatar

shivama92274331

Avatar

shivama92274331

shivama92274331

28-01-2021

Hi @Vijayalakshmi_S 

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