Forum Discussion
DocSmooTH_23746
Apr 07, 2008Nimbostratus
as a note - turning on logging shows that $sid isn't empty.
if I change the regexp to [^([\w-]+).*}, the log quits printing anything, at all, and the default pool is hit for all FQDN hits.
when HTTP_REQUEST {
regexp {^([\w-]+).*} [HTTP::host] sid
if {"" ne $sid } {
if { [matchclass $sid equals $::class_oracle_sids] > 0 } {
pool pool_$sid
} else {
log local0. "[IP::client_addr]:[TCP::client_port] [HTTP::host] $sid no sid matched."
}
} else {
log local0. "[IP::client_addr]:[TCP::client_port] [HTTP::host] sid empty."
}
}