5
如何獲取Mod Security中響應/請求體的大小?Mod安全回覆/請求體型?
我不斷收到此錯誤,例如:
[Mon Sep 17 23:34:38 2012] [error] [client 192.168.1.1] ModSecurity: Output filter: Response body too large (over limit of 1000, total not specified). [hostname "example.com"] [uri "/index.php"] [unique_id "asdf"]
它不告訴我總;我怎樣才能算出總數?
@ user973917關閉mod_security,加載'/ index.php',看看你得到的文件有多大。 –
@ user973917它不會因爲當響應主體的大小大於「SecResponseBodyLimit」時,它只是放棄並返回一個500.它不會讀取它的剩餘部分來報告它有多大。 –