Forum Discussion
greenfroguk_338
Nimbostratus
Nov 07, 2011Basic 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
Altostratus
Nov 07, 2011This 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 } }}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
