Forum Discussion
Steven_87308
Nimbostratus
Feb 10, 2012stuck on first complex irule - req for help
I'm writing to ask for help with the design of an irule solution. My goal is to get various URIs to either redirect to SSL during authentication, or to fail pass http through to a standard pool.
...
hoolio
Cirrostratus
Feb 13, 2012You have an extra set of curly braces in yours. This should work:
if {[HTTP::uri] starts_with "/path1" or [HTTP::uri] ends_with "/path2"} {
But a switch statement or class command and data group should be more efficient and manageable.
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