Forum Discussion
Nick_Palmer_f5
Nimbostratus
Apr 24, 2012iRule Redirect Issue
Greetings!
I needed to separate traffic to URIs containing /specific/folder/ in them. So, I created a simple iRule that, I thought, would do that:
when HTTP_REQUEST {
s...
Chris_Miller
Altostratus
Apr 25, 2012I'd expect this to use your default pool but let's add an else just in case:
when HTTP_REQUEST {
set my_uri [string tolower [HTTP::uri]]
if { $my_uri contains "/specific/folder/" } {
pool www.specificpool.com
} else {
pool default_pool
}
}
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
