Forum Discussion
Randy_Johnson_1
Nimbostratus
Feb 08, 2006Newbie to IRules - HELP PLEASE !
Hi group -
This is my first venture into the world of IRules, and I'm hoping for some direction.
The basic situation is this -
I have a webfarm runing several applications. Some of thes...
Feb 08, 2006
Then it really is as simple as you thought. You might want to force the uri to lower case to handle "address", "Address", "ADDRESS", etc though...
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "address" } {
pool address_pool
}
}This way requests with URI's containing "address" (case insensitive), will get routed to the address_pool, while all other requests will get routed to the default pool for the given virtual.
-Joe
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