Hi, I’m trying to upgrade version 10 to 11 but there is an error pointing back to an irule that is causing an upgrade failure. I’ve then since taken the irule out but trying to paste it back but it returns me this error. Does anyone know what is causing this error?
Error:
01070151:3: Rule [/Common/HTTP_trace_deny] error: Unable to find value_list (sec_http_methods) referenced at line 12: [matchclass [HTTP::method] equals $::sec_http_methods]
iRule:
when RULE_INIT {
set sec_http_methods [list “CONNECT” “DELETE” “HEAD” “OPTIONS” “PUT” “TRACE”]
}
when HTTP_REQUEST {
if { [matchclass [HTTP::method] equals $::sec_http_methods] } {
reject
}
}