Forum Discussion

bt_308832's avatar
bt_308832
Icon for Nimbostratus rankNimbostratus
Jun 20, 2018

Detect Geo Location With iRule and Redirect

Hello, I have this iRule: when HTTP_REQUEST { if { [string tolower [HTTP::host]] contains "example.com" && [HTTP::path] eq "/" }{ set country [whereis [IP::client_addr] country] ...