I'm demanding to discover a resolution to permit the client IP to be conserved utilizing an X-Forwarded-For header from hardware load balancer. I want to obtain this functioning through URL Rewrite 2.0 as this will be the most acceptable alternative on one occasion v2.0 is released, except I'm getting problem receiving the REMOTE_ADDR variable to be over-written.
I can effectively mark the X-Forwarded-For value to a latest HTTP_variable:
Code:
<set name="HTTP_Test" value="{HTTP_X_Forwarded_For}" replace="true" />
However while I attempt to set the REMOTE_ADDR variable, not anything occurs:
Code:
<set name="REMOTE_ADDR" value="{HTTP_X_Forwarded_For}" replace="true" />
Is there anything missing here.
Bookmarks