Forum Discussion
breasoner_11658
Nimbostratus
Aug 16, 2010direct similar uris to their own pools via datagroup
Hi -
I have an iRule that was working just fine until I made a recent addition. The rule finds the uri and directs traffic to a pool based on the information contained in a datagroup: ...
Chris_Miller
Altostratus
Aug 16, 2010Posted By breasoner on 08/16/2010 10:38 AM
Thanks for the reply Chris.
I tried using 'equals' but the problem then became that anything after the uri wouldn't be matched and therefore wouldn't get directed to the pool.
For example:
http://mysite.com/clienta
http://mysite.com/clientaweb
http://mysite.com/clientaadmin
Should all go to the same pool.
http://mysite.com/clienta1
http://mysite.com/clienta1web
http://mysite.com/clienta1admin
Should go to a different pool.
Good reason to use a different naming convention :-P I'm sure someone will have a good method to do this that allows you to look at the 6th character in the string and evaluate it...another option would be to put a1 higher in the datagroup list.
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
