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...
jgranieri
Nimbostratus
Aug 17, 2016something like this should work:
when HTTP_REQUEST {
log local0. "HTTP Uri: [HTTP::uri]"
set xxxx [URI::query [HTTP::uri] yyy]
if { [matchclass [HTTP::uri] contains blah] } {
redirect to "https://www.hello.com"
} elseif {
[matchclass [HTTP::uri] contains ZZZZ] } {
log local0. "something to log
redirect to "https://www.somethingelse.com"
} else {
redirect to "https://www.final.com"
}
}
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