Forum Discussion
FNowak_29320
May 26, 2014Nimbostratus
"bad IP address format" errors when using geolocation iRule
Hey guys,
I am currently working on an iRule that shall append an URL parameter called "isCountryEMD=yes" whenever US or CA users try to access my website.
I am using multiple domains where some of...
Matt_Dierick
May 26, 2014Employee
Hi,
Enable logs and check the variable True_Client_IP I did test with this irule and it works. I have a return with FR for the country code. I suppose the returned format is wrong.
when HTTP_REQUEST
{
log local0. "IP addr : [IP::client_addr]"
set myip "78.210.81.133"
log local0. "Where is : [whereis $myip country]"
}
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