Gullapudi_Venka
Jun 30, 2016Nimbostratus
Utilization of Data group in an iRule
I am trying to write an iRule that will reject the IP::Client_IP_addr if the HTTP_REQUEST had a certain cookie.
I placed the multiple cookie items in the data group named Cookie_datagroup.
when HTTP_REQUEST { if { [class match [HTTP::cookie] equals Cookie_datagroup] } { reject }
}
Can i please get help in getting this to work. I am not able to figure what is the mistake.
Thanks in advance.