kona2-9_51980
May 17, 2012Nimbostratus
Trying to create an iRule to serve multiple http and https pools based off of a single VIP
I have four pools :
testa.org
testa-ssl
testb.org
testb.org-ssl
I can see that when i send plain http traffic to either my log line is hit. but when i select https i get no hits. Any suggested articles or changes appreciated. when
when HTTP_REQUEST {
log local0. "in HTTP_REQUEST"
if
{[ HTTP::uri] contains "testa.org" and [TCP::server_port] == 80}
{pool testa.org}
elseif
{[HTTP::uri] contains "testb.org" and [TCP::server_port] == 80}
{pool testb.org}
elseif
{[HTTP::uri] contains "testa.org" and [TCP::server_port] == 443}
{pool testa.org-ssl}
elseif
{[HTTP::uri] contains "testb.org" and [TCP::server_port] == 443}
{pool testb.org-ssl}
}