Forum Discussion
TheManu
Nimbostratus
16 years agoRejecting HTTP request
Hello there,
I'm trying to reject a http request when it's containing a special string, but it doesn't work.
Please have a look at my rule:
when HTTP_REQUEST {
if {...
TheManu
Nimbostratus
16 years agoProblem solved. It works like this:
when HTTP_REQUEST {
if {[HTTP::uri] contains "MyString"}
{
reject
}
}