Forum Discussion
Aurel
Cirrus
Mar 31, 2016HTTP_REQUEST - invalid command name "1.1.1.1%1" while executing "$client_ip equals "2.2.2.2""
Hi guys,
I try to do something that looks not difficult, but i'm really stucked. Any help is welcome.
I just want to check the remote client ip and push an ifile proxy.pac to him, and if not i w...
Steph_69890
Nimbostratus
Mar 31, 2016Are you using "Route Domains? If so, it's probably your error.
Example from one of my irule;
set userip [getfield [IP::client_addr] "%" 1]
switch -glob -- $userip {
"10.10.10.*" -
"10.10.11.*" -
"10.10.13.*" {
Do what you want!
}
default {
the default
}}
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
