Forum Discussion
hooleylist
Nov 14, 2011Cirrostratus
Or if you're just trying to map requests to /directories/ to a separate pool, you could use an iRule like this:
when CLIENT_ACCEPTED {
Save the name of the VS default pool
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
Check the requested URI
switch -glob [HTTP::uri] {
"/directories/*" {
pool directories_pool
}
default {
pool $default_pool
}
}
}
Aaron