Forum Discussion
Blogger11_11505
Nimbostratus
Jan 09, 2013Need an iRule to enable sticky sessions for certain url
I have the following url which is my virtual server. wservicecrt.cerner.com. I need to enable sticky sessions for any requests that go to wservicecrt.cerner.com/bpc*
All other requests that go to wservicecrt.cerner.com* need to just stay on the default config/normal load balancing that I have set up in the F5.
I am very new to iRules so I am completly unsure where to start with this.
Advice/help please?
Thanks
1 Reply
- hoolio
Cirrostratus
Hi,
Can you try this?
Aaronpersist: https://devcentral.f5.com/wiki/iRules.persist.ashx when HTTP_REQUEST { Check the requested path switch -glob [HTTP::path] { "/bpc*" { persist source_addr } default { persist none } } }
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