在 Apache 访问日志中,整个文件重复了以下几行:
186.44.190.132 - - [22/Feb/2013:23:41:34 +0100] "POST /includes/wishlistcwh.php HTTP/1.1" 200 42416 "-" "Mozilla/5.0"
151.246.16.245 - - [22/Feb/2013:23:41:32 +0100] "POST /includes/wishlistcwh.php HTTP/1.1" 200 42416 "-" "Mozilla/5.0"
186.44.190.132 - - [22/Feb/2013:23:41:40 +0100] "POST /includes/wishlistcwh.php HTTP/1.1" 200 42416 "-" "Mozilla/5.0"
这是对网站的攻击,但问题是“/includes/wishlistcwh.php”在服务器中不存在,并且 Apache 返回 200 状态。
我在这里遗漏了什么?
答案1
当您有一个 mod_rewrite 规则来处理不存在的文件请求时,就会发生这种情况。