Forum Discussion
pvrobinsontx2_2
Nov 12, 2015Nimbostratus
iRule redirect based on uri or user-agent match logic.
Hello, looking for some direction here. I am trying create a rule which will match a specific set of uri and redirect if true to a prefered site and quit processing the irule.
If the uri doesn't ma...
BinaryCanary_19
Historic F5 Account
To the naked eye, i don't see anything wrong with your logic.
You might want to add logging statements to track the values you're matching for, and log every block execution reaches to make sure there is not something unexpected happening.
pvrobinsontx2_2
Nov 12, 2015Nimbostratus
Thanks... That was my thinking that the logic was right. I've placed log local2. statements , the values are there but when it comes to the mobile section there is simply no execution as best I can tell. It's almost like there is a bug somewhere in running multiple switch statements in the same iRule. If the 1st uri match doesn't catch, I get an instant connection reset.
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