Forum Discussion
Mar 09, 2010
WebDav detection
Hello all,
Does anyone know how detect a web dav (Propfind method) request using IRules and then reject it?
Any kind of help is fully appreciated.
Thanks.
Regards,
TRX
- hoolio
Cirrostratus
Hi TRX,class allowed_methods_class { "GET" "HEAD" "POST" }
when HTTP_REQUEST { Check if request method is in the allowed_methods_class if {not [matchclass [HTTP::method] equals allowed_methods_class]}{ Illegal request method, send a 405 - Method Not Allowed response HTTP::respond 405 } }
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