Eddie_27920
Feb 17, 2009Nimbostratus
Beginner Help with an HTTPS iRule
Hi all,
This is what I thought would work to look at the HTTPS request and use 2 different pools to send the traffic to. Everything I've looked at in DevCentral always has HTTP examples. Can I not look at the url and make a iRule determination?
when HTTPS_REQUEST {
if { [HTTPS::path] contains "chat.mesaaz.gov" }{
pool chat.mesaaz.gov_pool
} elseif { [HTTPS::path] contains "ocs.mesaaz.gov" }{
pool ocs.mesaaz.gov_pool
} else {
pool default_gateway_pool
}
}
Thanks,
Eddie