頁面無法顯示,提示錯誤代碼:500 Internal Server Error。The request was rejected by the HTTP filter
當前位置:點晴教程→點晴OA辦公管理信息系統
→『 經驗分享&問題答疑 』
:在訪問點晴OA的Email模塊時,提示以下錯誤: 錯誤代碼: 500 Internal Server Error。The request was rejected by the HTTP filter. Contact the server administrator. (12217)
顯示是url被防火墻(ISA/TMG/...)過濾了,開始以為是網站本身服務器的問題,結果點晴OA服務器所在的內網電腦訪問測試正常,經過排查發現原來是防火墻(ISA/TMG/...,其他防火墻參照以下設置)的問題。搜索網絡后找到這么一篇微軟的技術文章《You receive a “The request was rejected by the HTTP Security filter” error message when you try to open a message from an Exchange Server that is published in ISA Server and in Microsoft Forefront Threat Management Gateway, Medium Business Edition》,初步了解了原因:默認的Web發布規則被配置為阻止高位字符。我這時注意到出錯的URL,訪問頁面有個很長的 方法 1(ISA防火墻): ISA 2004 console > Configuration > Add-Ins > Web Filters tab > properties of compression Filter > select Enable this filer. > Ok > Apply. 方法 2(TMG防火墻): 取消驗證正則化,如果URL有高位字符請求,同樣要取消選框,把HTTP過濾器禁用了試試。 參考上述微軟的技術文章,所做的修改如下: 去掉了阻止高位選項的勾,然后增長了URL和查詢字串的可接受長度,至此問題解決! 方法 3(ISA防火墻): 1. Start the ISA Server Management tool. 2. Expand ServerName, where ServerName is the name of your ISA Server computer. 3. Click Firewall Policy, click the Web publishing rule that you created , and then click Edit Selected Rule. 4. Click the Traffic tab, click Filtering, and then click Configure HTTP. 5. Click to clear the Block high-bit characters check box, and then click OK two times. 6. Click Apply to update the firewall policy, and then click OK. 其實上面解決的問題就是,通過ISA發布網站之后,會導致Web地址里不能轉發高位字符,默認是被ISA給Block掉了! 按照上面的方法,大部份問題解決掉了,還有一個問題,那就是當下載文件名中含.exe擴展名時,還是會出現這種錯誤,很明顯,.exe被block掉了,仔細看了一下,HTTP策略,發現在常規標簽中有一個:阻止包含windows可執行文件內容的響應-》復選框,取消即問題解決!
該文章在 2017/12/8 17:49:57 編輯過 |
關鍵字查詢
相關文章
正在查詢... |