search cancel

how to return Siteminder default and custom headers to the Browser / client

book

Article ID: 216635

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder)

Issue/Introduction

Today WebAgent-HTTP-Header-Variable are getting set as part of authorization at our end. We can see HTTP-HEADER in our Apache logs but we are not able to see similar header on the browsers ( developers tools ). 

Is there a way to send header  to the client.?

 

Environment

Release : 12.8.03

Component : SITEMINDER -WEB AGENT FOR APACHE

Web Server:    Apache 2.4.41
Web Server OS: RHEL 6.10

Resolution

Apache mod headers can be used to echo the server headers to the Browser as part of the response.

Please refer to Apache 2.4 official guide below on how to set up the mod_headers to echo the server headers back with the response to browser 

https://httpd.apache.org/docs/current/mod/mod_headers.html

Pretty much if you want to return the SM headers , you need to set the below in your httpd.conf 

Header echo ^SM

you can also customize which headers you want to return by changing the echo filter in the above