Forum Discussion
phipse
Apr 16, 2018Altostratus
HTTPS redirect to different pools
Hi Guys,
I'm trying to use an iRule to redirect traffic based on the URL. Let me give you the example:
The Virtual server is on port 443, but the pools are on 8443 and 9443.
https://1...
Apr 16, 2018
Your switch statement doesn't look right. Try this:
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/blue*" {
pool pool_b_8443
persist ssl
}
"/red*" {
pool pool_r_9443
persist ssl
}
}
}
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