Forum Discussion
Sam153_178384
Nimbostratus
Dec 08, 2014iRule not working [redirect to different pool]
Hi,
I have VIP in which I have used iRule which redirect one URL to different pool except default. But when I hit URL default pool is being called . Please suggest what is wrong with iRule ?
Her...
nitass_89166
Noctilucent
Dec 08, 2014i think Brad suggested something like this.
when HTTP_REQUEST {
switch -glob [HTTP::host] {
"test.com*" { pool DMZ_a_pool }
"abc.test.com*" { pool DMZ_b_pool }
default { pool DMZ_a_pool}
}
}
Brad_Parker
Cirrus
Dec 08, 2014That's what I was thinking.
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