Forum Discussion
MTNSEA_284360
Nimbostratus
Aug 17, 2016IRule for backend server with multiple ports and / URI
We have VIP- vs_172.18.92.199_HTTPS on LB and its allowing the URL- http://172.18.100.205:8089/sso/ using configured IRLUE. Now after login into this page, we have TAB=link for same backend server: h...
Stanislas_Piro2
Cumulonimbus
Aug 17, 2016Hi,
Do you have only one virtual server on port 80 (or 443) or do you have multiple virtual servers on ports 8080, 8086 and 8089???
you can create an irule like:
when HTTP_REQUEST {
switch -glob [HTTP::path]
"/sso*" {
pool pool1
}
"/cvbs/*" {
pool pool2
}
"/m2m_op/*" {
pool pool3
}
default {
HTTP::redirect /sso
}
}
}
It's not a good idea to replace HTTP::uri but better to send to the browser that the URI is redirected to /sso
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