Forum Discussion
Edgar_Palamarch
Nimbostratus
Nov 06, 2015Dynamic Pools and 'CATCH'
We are trying to implement a CATCH statement in an iRule that directs traffic to different pools depending on URI. The names of the pools are taken from the URI. If no such pool exists, requests are ...
Edgar_Palamarch
Nimbostratus
Nov 12, 2015Here is an example of what the iRule should be doing:
1. Request is made to https://www.MyTestDomain.com/firstFolder/site/jumppage
2. firstFolder is detected, $protocol is appended to it, and request is redirected to another pool with the name firstFolder_443.pool
3. The iRule removes the firstFolder from the URI, and the new pool firstFolder_443.pool serves the request as https://www.MyTestDomain.com/site/jumppage
4. If there is no such pool firstFolder_443.pool, the request is sent to the default pool the virtual is mapped to ([LB::server 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