Forum Discussion
irule to direct traffic for a different pool
Need to direct particular user traffic to a different pool. This is all HTTPS traffic. when user access https://abc.com they need to be fwded to poolA. When the request comes in as https://abc.com/CustomerDetails , or /WebOfferList or /MembershipEdit they need to be fwded to poolB
Need assistance with the irule
2 Replies
- janholtz
Altostratus
Here you go: (BTW, this could be made a LOT simpler, but this will give you the foundations for flexibility later 🙂 )
when HTTP_REQUEST { switch -glob -- [string tolower [HTTP::uri]] { "" - "/" { pool poolA } "/customerdetails*" { pool poolB } "/webofferlist*" { pool poolB } "/membershipedit*" { pool poolB } } } - sandiksk_35282
Altostratus
I am not seeing traffic hitting the irule , by default all the traffic is going to default pool . how can i troubleshoot this.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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