Forum Discussion
Nov 17, 2010
matchclass, uri routing, and cookie persist & snat irule
Hey guys and gals, it's been a bit, I hope all is well.
Please review the below scenerio and let me know if i'm missing something, or if you would do anything differently..
I worked up the b...
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
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects