Forum Discussion
P_K
Oct 12, 2017Altostratus
Thanks for clarification and diagram. if i understood properly, you need to create 2 pools
Pool_1 -> 1.1.1.1:8080 and 1.1.1.2:8080 Pool_2 -> 3.3.3.1:777 and 3.3.3.2:7777Apply below iRule to your VIP and test.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {"/index*"
{
pool Pool_1
}
"/reports*"
{
pool Pool_2
}
}
}