iRULE 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 balanced servers AUTHAPP1 & AUTHAPP2.

Any ideas?

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
    }
}

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  
 }
}

My 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.