Misty_Spillers
Aug 27, 2010Nimbostratus
Mix and matching port 80 and port 443 pools
I have spent a bit of time searching only to find very old posts the reference things that do not exist. I would like to know how to create and iRule for the following.
The VS is 443 only, with the SSL profile serverssl (default) set. The rule kind of looks like the below example. I stripped it down to the basics just to try to get it to work. It seems like I need to turn off the SSL profile serverssl to get the second pool to work (then the first one doesn't) but I don't know how to automate it. I saw a post about adding SSL::disable in there but not really sure of the syntax.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/app1" } {
pool app1_ssl_port_433
} else {
pool app2_port_80
}
}
if I'm doing this completely wrong let me know.
Thanks for any help, sorry this is so simple