Forum Discussion
Matt_H_58911
Nimbostratus
Sep 17, 2007BIG-IP 9.1.0 Build 6.2 IRULE ** Newbie**
I've inherited this wonderful device and now need to learn how to write an irule.
Objective:
What I would like to do is match on a URL and send requests for certain portions of pag...
dennypayne
Employee
Sep 17, 2007That should work fine. If your list grows beyond 3 URLS, you will probably want to look at the matchclass functions (see the wiki) so that you can do one comparison against a list instead of a comparison for each possibility.
Also your current rule will "fall out" to the default pool defined in the virtual without a match, if you want to be more specific about that you can end with an "else" and direct that to the default pool.
Denny
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