Forum Discussion
Raj_74912
Nimbostratus
Jun 01, 2010Greedy iRule. Need not so greedy one.
Guys and Gals,
I currently have a problem that I am trying to solve. I have a website called www.abc.com and want all requests only going to www.abc.com// to go to a different pool than no...
hoolio
Cirrostratus
Jun 01, 2010Hi Raj,
First, I'd suggest changing all of your variables to local ones and removing the RULE_INIT event. Any variable set in RULE_INIT defaults to be a global. Global variables will be shared across all connections for all virtual servers. Then I'd replace the matches_regex command with a string function. Are you trying to literally matching only a URI of //? If so you can check for it using [HTTP::uri] eq "//". If that's not what you're after, can you clarify?
Thanks, 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