Forum Discussion
greenfroguk_338
Nov 07, 2011Nimbostratus
Basic iRule to redirect to pools
Hi,
We have a VIP created and against that VIP have a very basic iRule.
The idea is that depending on two matches on the URI it directs to a different pool. I know there will be a ...
Arie
Nov 07, 2011Altostratus
This is probably more efficient:
if { [HTTP::host] equals "e02extport.com" } {
switch -glob [HTTP::path] {
"/var1/*" {
pool pool_ext_e02_var1
}
"/var2/*" { pool pool_ext_e02_var2 } "/var3/*" { pool pool_ext_e02_var3 } default { pool pool_ext_e02_default } }}
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