Forum Discussion

Tim_W_72292's avatar
Tim_W_72292
Icon for Nimbostratus rankNimbostratus
Oct 24, 2007

Irule with Multiple HTTP checks

Hi All,

 

 

I am trying to write a rule that will do multiple check within the HTTP headers, is this possible? Here is what I was thinking:

 

 

 

if {[HTTP::host] equals and [HTTP::status] equals "400" and [HTTP::uri] starts_with "/url"} {

 

log local0, "log of issue"}

 

}

 

 

Will this work as I think it will or are there constraints on the HTTP headers checks?

 

 

Cheers

 

 

Tim

15 Replies