Anush
Aug 11, 2016Nimbostratus
TCL errors
we have following irule configured and it's throwing large amount of TCL errors evenif logging is disable for the irule. It's working ok and in production but not sure why it cause TCL errors
...
Much appreciated Vernon. I will try following
set cn "VURL_[string tolower [HTTP::host]]"
if { [class exists "$cn"] } {
set redirect_url [class lookup [HTTP::path] $cn]
HTTP::redirect $redirect_url
log local0. "Redirecting: [HTTP::host][string tolower [HTTP::uri]] to $redirect_url "
}