我有一個 Apache HTTPD 2.4.37,從今天早上開始,它正在回應500并[Mon Jan 24 12:27:03.132322 2022] [http:error] [pid 3650579:tid 140496433313536] [client 10.42.0.47:53214] AH02429: Response header name '[Mon Jan 24 12' contains invalid characters, aborting request在嘗試呈現 Perl 應用程式時進行回應。
如果我嘗試使用curl -v我無法在回應標頭中看到這樣的“標頭”來呼叫該網站。
此外,如果我conf.modules.d從 Apache HTTPD2.4.6版本復制檔案夾,它就會按預期作業。
uj5u.com熱心網友回復:
經過一些回溯后,我設定的請求標頭似乎在為空時破壞了請求。我正在關注https://httpd.apache.org/docs/2.4/env.html#fixheader來傳播“無效”(對于 Apache HTTPD)標頭,并且即使標頭的值為空(即標頭根本不是請求的一部分)。
在這種情況下,由于某種原因,請求會被破壞。
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/425572.html
