页面无法显示,提示错误代码: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 编辑过 |
关键字查询
相关文章
正在查询... |