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...
Stanislas_Piro2
Cumulonimbus
Oct 03, 2017Hi,
Looking at your irule, you redirect in any condition. Remove the default statement.
Http redirect to different hostname must contain absolute uri
HTTP::redirect "https://testsite.example.com.my"
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
