So if its root or a defined subfolder it would go to the default pool. And if is a subfolder but not defined in the data group it would go to a different pool.is it something like this?
e.g.
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { [HTTP::uri] equals "/" or [class match -- $uri starts_with uri_class] } {
pool foo
} else {
pool qux
}
}
when HTTP_RESPONSE {
log local0. "uri: $uri pool: [LB::server pool]"
}
}
[root@ve10:Active] config tail -f /var/log/ltm
Aug 1 15:17:48 local/tmm info tmm[5139]: Rule myrule : uri: / pool: foo