Forum Discussion
Peak_10_71174
Nimbostratus
17 years agoirule redirect logic and syntax
I'm not a developer and I wanted to verify that the following irule change would work as I intend it to before I put it in a production environment:
I currently have an irule setup to redirect ...
hoolio
Cirrostratus
17 years agoThat looks good. One thing I noticed is that */redirect4/* is listed before /redirect4/*. I don't think the latter will ever get matched as */redirect4/* will match /redirect4/anything in addition to anything/redirect4/anything:
% string match */redirect4/* /redirect4/anything
1
% string match */redirect4/* anything/redirect4/anything
1
Aaron
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