eliton_199802
Jun 26, 2018Nimbostratus
iRule expression error
Can somebody please assist me with the following irule, I receive the following error: security:9: error: [missing an expression][ ]
when HTTP_REQUEST { lowercase the host string received switch -glob [string tolower [HTTP::uri]] { "/" { HTTP::redirect "/123/login" }
"/123/adminconsole.jsp"
if { [IP::addr [IP::client_addr] ne 10.0.0.0/8%5] } {
Drop the connection
reject
}
}
}