Forum Discussion
zhoDroid_281800
Nimbostratus
Jul 28, 2016Rule for redirrect to specific pool member
hi all i want make rule to redirect domain to specific pool member
for example:
i have 1 VS with 2 pool member
VS : 10.10.10.1
Pool1: 192.168.1.2
Pool2: 192.168.1.2
if i open www.testing.com/tes...
Yann_Desmarest_
Nacreous
Jul 28, 2016Hi,
You can use the following irule :
when HTTP_REQUEST {
switch [HTTP::path] {
"/test1" {
pool pool1
}
"/abc" {
pool pool2
}
}
}
- Yann_Desmarest_Jul 28, 2016
Nacreous
If you need to cover every path that starts with /abc or /test1 then you can change the irule to take this into account :
when HTTP_REQUEST { switch -glob [HTTP::path] { "/test1*" { pool pool1 } "/abc*" { pool pool2 } } }
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