Forum Discussion
Dec 03, 2019
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "admin" } {
if { not ([class match [IP::client_addr] equals private_net]) } {
HTTP::redirect "http://abc.com"
pool xyz_pool
}
}
}
- Cwoods-KCSDec 03, 2019Nimbostratus
Same result as with my previous iRule, the client's with private IP's and looking for the uri /admin end up landing on the VS pool member and not the iRule defined pool member.