Expand my Community achievements bar.

SOLVED

Not able to see x-dispatcher param in response headers

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

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

Avatar

Community Advisor

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

Level 2

Hi @Vijayalakshmi_S 

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