Hello,
Can someone please tell me what iRule I would use to redirect multiple urls to a different pool of servers?
For example, I need to apply an irule to the "; virtual server that redirects "; and "; to a different pool of servers.
Thank you for your help!
Make sure you utilize SSL cert on the F5 for the domain.
when HTTP_REQUEST {
if { ([HTTP::host] eq "www.test.com") and ([class match [HTTP::uri] eq CLASS_URI]) } {
pool POOL_A
}
}
CLASS_URI is a datagroup that contains the list of URIs.
I would probably define a policy for this. No need for an iRule.