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...
Sam153_178384
Nimbostratus
Dec 08, 2014As suggested by brad by putting the Hosts into quotes should resolve my problem ? e.g "switch -glob [HTTP::host]"
OR
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} } }
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