Apache-2.2

Apache 報告狀態 200 但伺服器中不存在文件

  • February 27, 2013

在 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 狀態。

我在這裡想念什麼?

當您有一個處理對不存在文件的請求的 mod_rewrite 規則時,就會發生這種情況。

引用自:https://serverfault.com/questions/482958