Forum Discussion
wixxyl_98682
Nimbostratus
Jul 11, 2013Routing to individual pool member based on URI
Dev,
Looking to route to several backend ports on a server based on URI. My thoughts are creating one pool that references the server's four different ports, 8081-8084, and using a switch statement...
nitass
Employee
Jul 11, 2013I've tried */wfbild*, /wfbild* in the rule, but to no avail.have you added -glob in switch?
iRules 101 - 04 - Switch by Joe Pruitt
https://devcentral.f5.com/tech-tips/articles/irules-101-04-switch
My thoughts are creating one pool that references the server's four different portsyou can use "node" command instead of pool. for node command, you do not need to define pool.
node
https://devcentral.f5.com/wiki/iRules.node.ashx
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