Forum Discussion
RobS
Feb 07, 2018Altostratus
Redirect to pool member based on URI with persistence
We are implementing Kronos 8 with SSL offloading on our LTM. The SSL offload options in Kronos forces all traffic through the LTM so our Kronos admin can no longer hit the application directly on the...
Stanislas_Piro2
Feb 09, 2018Cumulonimbus
Hi,
you have to create 2 virtual servers:
- http virtual server to redirect HTTP URLs to HTTPS. assign the default _sys_https_redirect irule.
- https virtual server to manage
Apply this irule to the HTTPS virtual server
HTTPS virtual server irule
when HTTP_REQUEST {
switch -glob -- [HTTP::path] {
"/wfc/logon" {
switch -glob -- [URI::query [HTTP::uri] app] {
"ap1" {
pool Kronos member 192.168.1.121 80
HTTP::uri "/wfc/logon"
}
"ap2" {
pool Kronos member 192.168.1.122 80
HTTP::uri "/wfc/logon"
}
default {pool Kronos }
}
}
"/ap1" {HTTP::respond 307 Location "/wfc/logon?app=ap1" }
"/ap2" {HTTP::respond 307 Location "/wfc/logon?app=ap2" }
"/" {HTTP::respond 307 Location "/wfc/logon" }
}
}
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