Forum Discussion
FishNiX_29746
Nimbostratus
Apr 15, 2010Strange iRule behavoir v9.4.8
Greetings -
Recently we had some strange behavior and I'd like to get some opinions on the cause...
We have 3 iRules applied to a virtual server and one supporting class:
rule strip_xforwa...
The_Bhattman
Nimbostratus
Apr 16, 2010Hi FishNix,
Not sure why you need a WHILE loop for removing an x-FORWARDED-FOR header
You should be able to do it in the following manner
rule strip_xforwardedfor {
when HTTP_REQUEST {
if { [HTTP::header exists X-Forwarded-For] } {
HTTP::header remove X-Forwarded-For
}
}
}
I hope this helps
Bhattman
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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