Allan_ivari_304
Nov 02, 2018Nimbostratus
use irule to force SSL profile based on URL
i am new to F5, and this question maybe very basic. thanks in advance for whoever is helping. 🙂
my situation is: we have 2 web server using same VIP base on different URL, i am pointing them different pool. since they also use different SSL profile (both client side and server side) i want to use irule to assign them different SSL profile base on URL
not sure if is it do able, if so, how?
below is what i have so far:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"a.webone.com" {
pool a.webone.com
}
"b.webtwo.com" {
pool b.webtwo.com
}
default {
log local0. "Unknown host to switch: [HTTP::host]"
}
}
}