[英]Getting PROPFIND in apache access logs
I am getting lots of request in my apache access log file as follows: 我的apache访问日志文件中收到很多请求,如下所示:
50.80.29.105 - - [19/Sep/2012:07:32:31] "PROPFIND /images/logos/puzzles.gif HTTP/1.1" 501 5014
Because of this error is getting generated on my server; 由于这个错误正在我的服务器上生成; and log files are getting filled up with exceptions. 并且日志文件中充满了异常。 Is there a way to avoid this ? 有办法避免这种情况吗? Probably put it in robots.txt ! 可能把它放在robots.txt中!
block Microsoft-WebDAV-MiniRedir
, and add a generic block for any UA using: WebDAV
, as this is a method used by WebDAV , mostly by an org who is trying to improve its rankings. 阻止Microsoft-WebDAV-MiniRedir
,并any UA using: WebDAV
方法为any UA using: WebDAV
添加通用块any UA using: WebDAV
,因为这是WebDAV所使用的方法,主要是由试图提高其排名的组织所使用。
Add these lines to [Directory] section of httpd.conf , save it and restart Apache: 将这些行添加到httpd.conf的[Directory]部分,保存并重新启动Apache:
SetEnvIf User-Agent ^Microsoft-WebDAV-MiniRedir BegoneWebDAV
Order Allow,Deny
Deny from env=BegoneWebDAV
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.