Forum Discussion
using regex with if condition and ends_with
What exactly do you want to be redirected, and what do you not want redirected? In your initial post you stated that you wanted to match against URIs that end with -test The iRule provided will do that. -test.html does not "end with" -test, it ends with -test.html When using [HTTP::path] the parameters are not evaluated, so -test?params=21313 would end up being evaluated as -test
If you can provide a clear example of what you do want to match and redirect for, it may be easier to provide a working example.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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