Forum Discussion
sintrix_183828
Nimbostratus
Jun 06, 2016iRULE to route a single URI to a specific node, all other URI's should load balance as expected.
I need to make changes to route https://authapp.corp.com/PayPalHandler/handler.ashx
request to app server node 1 (AUTHAPP1).
All other traffic should continue to round robin between the 2 load b...
sintrix_183828
Nimbostratus
Jun 06, 2016Should this work?
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/PayPalHandler/handler.ashx" } {
pool authapp-443 member 192.168.12.20 443
} else {
pool authapp-443
}
}
Vijay_E
Cirrus
Jun 06, 2016My recommendation is not to use the node command in iRule. I have seen it break persistence and have run into issues when migrating from v10 to v11. Ideally, create a new pool with just the authapp1 pool member.
Check to see if the iRule posted addresses your questions/requirements.
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