Forum Discussion
Morten_Marstran
Jun 19, 2017Nimbostratus
Hi,
Lets say that in this example, your servers are located on two different pools; pool_6443 and pool_7443.
You can attach the following iRule to the VIP and it will do the job, although the code is a bit crude:
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] eq "/home" } {
pool pool_7443
}
else { [string tolower [HTTP::path]] eq "/rest" } {
pool pool_6443
}
}
- f51Jun 19, 2017Cirrostratus
Thank you Morten Marstrander. It is working now.