alternate pool selection

I’m running 10.2.4HF3. I’ve got a VIP with a default pool, and the VIP has an iRule which selects an alernate pool if the HTTP_REQUEST matches a URI string:

when HTTP_REQUEST {

if { [HTTP::uri] starts_with “/testuri” } {

pool newpool

}

}

When the client makes a request to /, a member is selected from the default pool as I would expect. But if the client then makes a request to “/testuri” within the same TCP connection, the pool statement in the iRule appears to be ignored - the request is load-balanced to the member in the default pool. It seems like I need to “reset” the pool selection if the URI matches the iRule, but not sure how to do that. Anyone know how to solve this?

smp

Would enabling OneConnect help here? Else, amending the iRule to include a “catch all” pool.

See 404 Page not found | BIG-IP Documentation

Hope this helps,

N

*sigh*, thanks for the article reference. That’s exactly what I was looking for. Thanks very much.