Skip to Content
1
Former Member
Nov 07, 2012 at 02:12 PM

Missing x-forwarded-for response field

426 Views

Hi There,

I need to log the IP Addresses of our users, who are logging in to our Web Application.

For that, I read the response field ~remote_addr. We have a WebDispatcher running "in front" of our WebAS (6.20). Because of that, the logged IP Address of every logged in user is the IP Address of our WebDisp.

So I tried to read the field ~x-forwarded-for. But this is a unkown field in the response object. I read, for this response field you have to activate the profile parameter wdisp/add_xforwardedfor_header. This parameter is imported with the ICM Patch Collection (Note 508300, PatchCollection XX). Although this patch collection has been installed on our system, the parameter is unkown.

Our PatchLevel is 1945. WebAS 6.20

Can someone give me a hint, how to get the ~x-forwarded-for header field into our ICM?