Forum Discussion
Eric_27859
Jul 29, 2011Nimbostratus
X-Forwarded-For and Route Domains issue with '%'
Hello,
I'm using the header X-Forwarded-For to tell the server the remote client IP (using AutoMap in the Virtual Server). When a Route Domain is involved, all the IPs are written with this ...
The_Bhattman
Jul 30, 2011Nimbostratus
HI Jarvil,
Yes sorry about that. I, for some reason, misunderstood your question.
Yes your correct taht HTTP::header command along with getfield will work
Here is the typical code where you insert the field instead of replace it
when HTTP_REQUEST {
HTTP::header insert X-Forwarded-For [getfield [IP::client_addr] "%" 1]
}
Bhattman
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects