Forum Discussion
Nick_Palmer_f5
Apr 24, 2012Nimbostratus
iRule 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
Apr 25, 2012Altostratus
I'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
}
}
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