Forum Discussion
3 Replies
Sort By
- sintrix_183828Nimbostratus
Should 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_ECirrusMy 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.
- Vijay_ECirrus
Untested. The default pool is the pool containing App1 & 2 and is attached to the VS. POOL_APP1 contains APP1.
when CLIENT_ACCEPTED { set DEFAULT_POOL [LB::server pool] } when HTTP_REQUEST { if { ([HTTP::host] eq "authapp.corp.com") and ([HTTP::uri] eq "/PayPalHandler/handler.ashx")} { pool POOL_APP1 } else { pool $DEFAULT_POOL } }