Forum Discussion
What_Lies_Bene1
Feb 18, 2013Cirrostratus
You can use the whereis Command, details here: https://devcentral.f5.com/wiki/iRules.whereis.ashx. For details of other continent codes, just Google 'ISO continent code'.
Here's an example;
when HTTP_RESPONSE { if { [whereis [IP::client_addr] continent] eq "EU" } { COMPRESS::gzip level 1 } else { COMPRESS::gzip level 6 } }
I'm UK based too so feel free to hook up on Linkedin if you think it might be useful.