Forum Discussion
Richard24_33536
Nimbostratus
Oct 03, 2017iRule Redirect based on Geolocation issues
I'm trying to create an iRule which redirects based on IP and Geolocation code for the 4 country codes listed. I currently have the following: when HTTP_REQUEST {
if {[HTTP::path] eq "/" }
{
se...
Richard24_33536
Nimbostratus
Oct 03, 2017Thanks for the response Anthony, I have the rule applied to a virtual server for the testsite.example.com pool. The hostname would be testsite.example.com, which is the default site I want to direct the client to should the rule fail to match any of those country codes based on IP. All of the country code hostnames listed are CNAMEs back to testsite.example.com. The idea being it simply returns a different URL based on whether it hits any of those country codes.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
