Forum Discussion
nrelihan_68143
Nimbostratus
Jul 08, 2011Redirecting to regional website depending on user DNS.
Hey all, I'm quite new to F5 irules first of all.
Perhaps I'll tell you what I have working first and then explain to you what additional things I'd like to do.
What I have working...
nrelihan_68143
Nimbostratus
Jul 08, 2011Hey guys, no theres no particular reason why I'm using HTTP::respond 302, if you think I should use HTTP::redirect, I'll go with that, I saw this, in some code today.
Bhattman, the reason why I was splitting up the code was to make it simplier for myself. I was using the global traffic irules to call the DNS_request funtion and then directing the traffic to the appropriate pools. Then running the other irules in the individual pools.
I didnt really think of running all the rules in the global section. I imagine its alot more efficient this way.
One thing about your code, you dont use the DNS_request function? Is there need for this?
Do you know of any other ways to determine an IP's location other than DNS? Yeah I dont think locking out requests is a viable option :)
Thanks!
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
