Forum Discussion
nitass
Feb 09, 2012Employee
can you try something like this?
Disabling HTTP Processing For Unrecognized HTTP Methods by Deb
http://devcentral.f5.com/wiki/iRules.DisablingHTTPProcessingForUnrecognizedHTTPMethods.ashx
when HTTP_REQUEST {
switch [HTTP::method] {
"MOVE" -
"COPY" -
"LOCK" -
"UNLOCK" -
"PROPFIND" -
"PROPPATCH" -
"MKCOL" {
HTTP::disable
return
}
}
if {[string tolower [HTTP::host]] equals "hostname"}{
HTTP::redirect "http://hostname.fullyqualified.domain.name[HTTP::uri]"
}
}