Forum Discussion
Andrea_Knapp_28
Nimbostratus
Aug 01, 2006Rule based on Directory.....
Hi All -
I am trying to create a rule in which a request is sent to a pool if it is in the directory. For example if http://abc.thisdomain.com comes in I want it to go to a maintenance pool, but if http://abc.thisdomain.com/language comes in I want to send it to a different pool. I am at a complete lost.
Thank you!
Andi
- hoolio
Cirrostratus
Hi Andi,if (http_host equals "abc.thisdomain.com") { if (http_uri equals "/") { use pool pool1 } else if (http_uri starts_with "/language") { use pool pool2 } } else { use pool default_pool }
if (http_uri equals "/") { use pool pool1 } else if (http_uri starts_with "/language") { use pool pool2 } else { use pool default_pool }
- Andrea_Knapp_28
Nimbostratus
Hoolio -
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