Forum Discussion
HI
you dont have to specify https request in the irule, if you terminate the ssl connection on the virtual server with a client and server ssl profile the f5 will be able to see the unencrypted http request, you can also ssl offload if you want by using a client ssl profile only. you can also configure the same virtual server ip address with different port numbers one for port 80 which will load balance where you want it to and for https 443, then in each virtual you can setup your irule to load balance to your specific pool. look at the rule below for some guidance you can more uri's. you can use the same irule on a https virtual server as long as you terminate the ssl on the f5 or ssl offload.
when HTTP_REQUEST { switch -glob -- [string tolower [HTTP::path]] { "/something" { pool http_pool }
default {
pool defaulthttp_pool }
} }