Question & Answer
Question
How do I enable Proxy server to accept and retain the private headers already set in the incoming request. For example $WSRA, $WSRH etc
Cause
The WebSphere Proxy server accepts and retains private headers from the IBM Web server/plugin and from other trusted proxies under certain conditions.
Answer
In the Websphere plugin config, the $WSRA an $WSRH variables are exposed via the following properties. i.e TrustedProxyEnable an TrustedProxyList. Private headers set by Trusted Proxies will not be overridden by the WebSphere plugin.
For more details, please refer to Web server plug-in custom properties
In the WebSphere Proxy component, there is no flag or variable within WebSphere Proxy configuration which can be used to retain the private headers of an incoming request.
The Proxy is only going to accept the private headers if 2 things occur.
1) the $WSSN header is already set in the request coming into the proxy
and
2) the host is a trusted intermediary.
If neither is true then the private headers in the request will be ignored and the proxy
will set them.
Although, ProxyWas is a Caching Proxy directive, both WebSphere plugin and WebSphere proxy
can set the headers.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21626365