頁(yè)面無(wú)法顯示,提示錯(cuò)誤代碼:500 Internal Server Error。The request was rejected by the HTTP filter
:在訪問(wèn)點(diǎn)晴OA的Email模塊時(shí),提示以下錯(cuò)誤: 錯(cuò)誤代碼: 500 Internal Server Error。The request was rejected by the HTTP filter. Contact the server administrator. (12217)
顯示是url被防火墻(ISA/TMG/...)過(guò)濾了,開始以為是網(wǎng)站本身服務(wù)器的問(wèn)題,結(jié)果點(diǎn)晴OA服務(wù)器所在的內(nèi)網(wǎng)電腦訪問(wèn)測(cè)試正常,經(jīng)過(guò)排查發(fā)現(xiàn)原來(lái)是防火墻(ISA/TMG/...,其他防火墻參照以下設(shè)置)的問(wèn)題。搜索網(wǎng)絡(luò)后找到這么一篇微軟的技術(shù)文章《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》,初步了解了原因:默認(rèn)的Web發(fā)布規(guī)則被配置為阻止高位字符。我這時(shí)注意到出錯(cuò)的URL,訪問(wèn)頁(yè)面有個(gè)很長(zhǎng)的 方法 1(ISA防火墻): ISA 2004 console > Configuration > Add-Ins > Web Filters tab > properties of compression Filter > select Enable this filer. > Ok > Apply. 方法 2(TMG防火墻): 取消驗(yàn)證正則化,如果URL有高位字符請(qǐng)求,同樣要取消選框,把HTTP過(guò)濾器禁用了試試。 參考上述微軟的技術(shù)文章,所做的修改如下: 去掉了阻止高位選項(xiàng)的勾,然后增長(zhǎng)了URL和查詢字串的可接受長(zhǎng)度,至此問(wèn)題解決! 方法 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. 其實(shí)上面解決的問(wèn)題就是,通過(guò)ISA發(fā)布網(wǎng)站之后,會(huì)導(dǎo)致Web地址里不能轉(zhuǎn)發(fā)高位字符,默認(rèn)是被ISA給Block掉了! 按照上面的方法,大部份問(wèn)題解決掉了,還有一個(gè)問(wèn)題,那就是當(dāng)下載文件名中含.exe擴(kuò)展名時(shí),還是會(huì)出現(xiàn)這種錯(cuò)誤,很明顯,.exe被block掉了,仔細(xì)看了一下,HTTP策略,發(fā)現(xiàn)在常規(guī)標(biāo)簽中有一個(gè):阻止包含windows可執(zhí)行文件內(nèi)容的響應(yīng)-》復(fù)選框,取消即問(wèn)題解決!
該文章在 2017/12/8 17:49:57 編輯過(guò) |
關(guān)鍵字查詢
相關(guān)文章
正在查詢... |