Forum Discussion
wtwagon_99154
Apr 21, 2011Nimbostratus
Thanks.
Yes, I was looking at switch too just a moment ago.
I ended up changing my iRule to this:
when HTTP_REQUEST {
if { [class match [HTTP::uri] contains "qml01"] } {
log local
pool qml01.80
} elseif { [matchclass [HTTP::uri] contains "qml02"] } {
pool qml02.80
}
}
This rule also appears to be working - looks like I had some syntax errors.