Forum Discussion
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 } }
- f51Cirrostratus
Thank you Morten Marstrander. It is working now.
- Morten_MarstranNimbostratus
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 } }
- f51Cirrostratus
Thank you Morten Marstrander. It is working now.