Forum Discussion
AceDawg_204810
Cirrus
Krishnamurali_2
Aug 21, 2017Nimbostratus
Is there any we can right like this
when HTTP_REQUEST {
If { [HTTP::header exists "abc.com"] } { else { [HTTP::header insert "page not found"] }
}
}
but when i execute this , i am getting error message . pls find the below
ule [/Common/hostheader] error: /Common/hostheader:3: error: [undefined procedure: If][If { [HTTP::header exists "abc.com"] } { else { [HTTP::header insert "page not found"] }
}]
please advise ..