Forum Discussion
Bob_10976
Nimbostratus
Feb 24, 2011iRule Error for HTTP::respond 404
Hello all,
I'm attempting to create an iRule that will block Microsoft Office Protocol Discovery User Agent from a specfic list of VS and I keep coming up with the error:
line 4:...
Bob_10976
Nimbostratus
Feb 24, 2011Aaron,
I'm using version 10.2.x
Also I attempted your change, but received the following error:
line 4: [wrong args] [HTTP::respond]
line 4: [undefined procedure: content] [content]
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::header "user-agent"]] {
"microsoft office protocol discovery"
HTTP::respond 404 content ""
}
}
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