Forum Discussion
Eddie_27920
Nimbostratus
Feb 17, 2009Beginner 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...
The_Bhattman
Nimbostratus
Feb 17, 2009Hi Eddie,
First HTTPS_REQUEST and HTTPS::path doesn't exist (but we all wish it did 😉 ). Second, if you are passing HTTPS traffic through the load balancer instead of offloading the SSL traffic, then everything will be encrypted, except the hostname and port.
If you are offloading SSL traffic on the BIGIP then it's possible to use
when HTTP_REQUEST {
if { [HTTP::path] contains "chat.mesaaz.gov" }{
pool chat.mesaaz.gov_pool
} elseif { [HTTP::path] contains "ocs.mesaaz.gov" }{
pool ocs.mesaaz.gov_pool
} else {
pool default_gateway_pool
}
}
Because the assumption here is that Client to VIP is SSL and then VIP to load balanced node is HTTP.
Hope that helps
CB
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects