Forum Discussion
Srinivasan_G_31
Jun 06, 2012Nimbostratus
GEO Based redirect
Friends,
I need help on getting an iRule that performs redirect to a specific web page based on client browser's country of access/GEO information. If the user accesses the website from Asia...
hooleylist
Jun 06, 2012Cirrostratus
Hi Srinivasan,
You can use the whereis and HTTP::redirect or HTTP::uri commands to do this:
https://devcentral.f5.com/wiki/iRules.whereis.ashx
https://devcentral.f5.com/wiki/iRules.http__redirect.ashx
https://devcentral.f5.com/wiki/iRules.http__uri.ashx
Do you want to rewrite the URI to hide the change from the client or redirect the request so the client sees the change? Do you want to change the hostname and/or URI?
Aaron
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