Forum Discussion
pjedrzejak
Nimbostratus
Aug 07, 2018iRule for specific redirect
Hi,
I got problem with preparing iRule uri redirect for specific servers.
Situation looks like:
S1 - serve two websites: /activ-admin and /activ-app S2 - serve one website: /activ-app
On F5 ...
Yann_Desmarest
Cirrus
Aug 10, 2018Hi,
Here is an irule example for you :
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/activ-app2*" {
HTTP::uri [string map { "app2" "app" } [HTTP::uri]]
pool member 10.0.0.2 8080
}
"/activ-app*" -
"/activ-admin*" {
pool member 10.0.0.1 8080
}
default {
drop
}
}
}
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