Forum Discussion
Martijn_Dekkers
Nimbostratus
Jun 15, 2006Matching wildcards in URI
Hi all, I'm new to iRules and could use some help.
I am trying to redirect to https if certain portions of the uri match - a sample uri would be http://testserv/test/folder1/folder2/id=1234 ...
Martijn_Dekkers
Nimbostratus
Jun 15, 2006Hey guys, thanks a lot, this worked great - citizen_elah, can you roll up multiple tests in this? along the lines of
if { ([HTTP::uri] starts_with "/test") and (([HTTP::uri] contains "id=1234") or ([HTTP::uri] contains "id=4567") or ([HTTP::uri] contains "id=8901")) } {or would it be bette rto split this up in multiple if statements?
Thanks again,
Martijn
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
