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 {
set my_uri [string tolower [HTTP::uri]]
if { $my_uri contains "/specific/folder/" } {
pool www.specificpool.com
}
}
All calls with /specific/folder/ in them should go to a different pool of servers, www.specificpool.com. All other calls should be directed to the original pool of servers. Instead I'm seeing all types of traffic on www.specificpool.com, both to /specific/folder/ and to other folders as well.
Asking for your expertise to help me make sure no other calls but to /specific/folder/ end up in www.specificpool.com. Greatly appreciate your time!