greenknight558_
Dec 11, 2009Nimbostratus
Can't matchclass
HI everyone
I write the irule like following:
if { ([matchclass [string tolower [HTTP::uri]] ends_with $::ext_bypass]) or ([matchclass [HTTP::uri] starts_with $::uri_bypass]) } {
log local0. "hits uri [HTTP::uri]"
}
}
I also define ext_bypass and uri_bypass as following:
class ext_bypass {
"zip"
"rar"
}
class uri_bypass {
type string
filename "/var/class/bypasslist"
}
Tresult is [HTTP:uri] only can match $::ext_bypass,but not uri_bypass
bypasslist is a ascii file that contains some uri
I notice the ltm.log,there is no error log
WHY?