vADC Forum

Reply
New Contributor
Posts: 2
Registered: ‎11-30-2012
Accepted Solution

Redirect Traffic by source country

Is it possible to redirect http traffic based on the country the remote Ip is lcoated in?

 

ie. If the remote IP is based in say Australia redirect to a specific URL.

 

I know should be able to get the coutnry code by using geo.getCountryCode but I cannot get it to work by passing it a variable $ip derived from response.getRemoteIP.

 

Anyone done this?

New Contributor
Posts: 2
Registered: ‎11-30-2012

Re: Redirect Traffic by source country

ignore me Im an idiot.... should of been using request.getRemoteIP!

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.