07-Feb-2022 20:27 - edited 07-Feb-2022 20:29
I need your help
I want to devide traffic using path
aaa.com >> default pool
aaa.com/ >> default pool
aaa.com/bb >> default pool
aaa.com/bb/ >> A pool
aaa.com/bb/cc >> A pool
aaa.com/bb/dd >> A pool
I don't know how to check first "/" and second "/" ??
you dont need iRule, you can configure LTM policy which base condition on URI and action to forward traffic to pool.
@neeeewie, it is of course, perfectly acceptable to use an iRule. However, keep in mind that Local Traffic Policies are generally more performant. Moreover, and more importantly, because policies are constructed by configuration, they follow a more standard support path than iRules.