Hi,
With this iRule it should work.
Do you have other iRules assigned to this VS that may create some conflict?
Can you create some logging and redo your testing and see if it goes in the good part ?
ex:
when HTTP_REQUEST
{
log local0. "uri is [HTTP::uri]"
if {[string tolower [HTTP::uri]] starts_with "/forums/" }
{
log local0. "Pool 0103 used"
pool POOL01_03
} elseif {[string tolower [HTTP::uri]] starts_with "/account/" }
{
log local0. "POOL_04_06 used"
pool POOL04_06
} elseif {[string tolower [HTTP::uri]] starts_with "/api/"}
{
log local0. "POOLAPI used"
pool POOLAPI
} else {
log local0. "default pool07_09"
pool POOL07_09
}
}
Can you show us the output available in /var/log/ltm?