Forum Discussion
Tomeq_93315
Nimbostratus
Nov 25, 2013redirection iRule based on IP and URI
Hi, I'm having problem with the following iRule. I does not work. It looks like it's not trying even the first condition: when HTTP_REQUEST {
log local0. "Client [IP::client_...
Tomeq_93315
Nimbostratus
Nov 26, 2013Your script looks more or less the same as mine ;) Unfortunately, it seems that function: [IP::addr [IP::client_addr] equals y.y.y.y] does not work, when routing domains are used.
Without additional parsing/formating it wouldn't extract dotted decimal IP. I've decided to use just [IP::client_addr] with % notation added. It's ok, but... I was suprised that this function is not rounting domain aware.
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