Forum Discussion
hooleylist
Nov 18, 2010Cirrostratus
Do you get an error when trying to save the iRule or during runtime when it's executed? This loaded for me on 10.2.0:
when HTTP_REQUEST {
if { [class match [HTTP::uri] starts_with myclass] } {
log local0. "Matched"
}
}
In 10.x, reference the class using $::myclass will just return the class name:
when RULE_INIT {
log local0. "$::private_net"
}
< RULE_INIT>: private_net
Aaron