Forum Discussion
Bob_10976
Feb 24, 2011Nimbostratus
iRule 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
Feb 24, 2011Nimbostratus
Aaron,
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 ""
}
}
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