Forum Discussion
Raj_Zucre_Ramir
Nimbostratus
Feb 10, 2011Redirect uri /raj to same pool but with different port
Hi,
Please help: www.testrule.com = pool_abc:1245 www.testrule.com/raj = pool_abc:9876
Then I created this irule and applied to www.testrule.com VS:
when HTTP_REQUEST { ...
hoolio
Cirrostratus
Feb 10, 2011Hi Raj,
If you define the collection of IP:ports for the /raj URIs in one pool and the other IP:ports in a second pool, you can use an like this to select between the two pools:
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/raj*" {
pool poo_raj_abc
}
default {
pool pool_abc
}
}
}
Aaron
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