Forum Discussion
TheManu
Nimbostratus
Apr 19, 2010Rejecting 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
Apr 19, 2010Problem solved. It works like this:
when HTTP_REQUEST {
if {[HTTP::uri] contains "MyString"}
{
reject
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
