Forum Discussion
Mike_S_59924
Nimbostratus
Apr 14, 2008comparison other than equals
Looks like irules only support equals and not equals. Is there any way to simulate greater than and less than.
The problem.
We have a web site w/ 240 virtual directories. We want...
hoolio
Cirrostratus
Apr 14, 2008You should be able to do this with string compare (Click here😞
% set string1 abc
abc
% set string2 abd
abd
% string compare $string1 $string2
-1
% string compare $string2 $string1
1
% string compare $string1 $string1
0
There might be a more efficient way of doing this though. Is there any advantage to sending requests for the same virtual directory to the same pool member? If not, could you just use least connections load balancing and distribute the requests to any node, regardless of which URI is requested?
Aaron
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