Forum Discussion
Gorf_33479
Oct 31, 2011Nimbostratus
HTTP::respond 405 still sends server header
I'm using an iRule to protect some services. One thing I am filtering on is the method.
Below is my basic rule. However the problem is that when it does it's thing it doesn't appear
to be obe...
nitass
Nov 01, 2011Employee
what version are you running?
[root@iris:Active] config b version|grep -iA 1 version
BIG-IP Version 10.2.3 112.0
Final Edition
[root@iris:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.33:http
ip protocol tcp
rules myrule
profiles {
http {}
tcp {}
}
}
[root@iris:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
HTTP::respond 405
}
}
[root@iris:Active] config curl -I http://172.28.17.33
HTTP/1.0 405 Method Not Allowed
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
[root@iris:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
HTTP::respond 405 noserver
}
}
[root@iris:Active] config curl -I http://172.28.17.33
HTTP/1.0 405 Method Not Allowed
Connection: Keep-Alive
Content-Length: 0
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