Justin_47030
Jun 17, 2015Nimbostratus
irule uri pool x else pool y
We have a vserver setup with persistence, pool, http profile etc. Developers want any traffic hitting abc.xyz.com/FOO to go to a specific pool of servers and all other traffic will go to the current pool in place. Would the irule below work for this?
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/FOO" } { pool FOO } else { pool current_pool } }