Forum Discussion
1 Reply
Sort By
- Vijay_ECirrus
Untested:
when HTTP_REQUEST { if { ([HTTP::host] eq "abc.com") and ([HTTP::uri] eq "/test") and ([HTTP::method] ne "POST") } { reject } }
Hi Team,
Im looking irule for restrict the POST method based on uri..
example: if your coming abc.com/test only allow POST method and rest should reject.
Untested:
when HTTP_REQUEST {
if { ([HTTP::host] eq "abc.com") and ([HTTP::uri] eq "/test") and ([HTTP::method] ne "POST") } {
reject
}
}