加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – URL重写出站规则IIS7

发布时间:2020-12-15 23:41:16 所属栏目:asp.Net 来源:网络整理
导读:尝试使用此模块尝试使用URL重写,但尝试点击URL时,我会收到以下错误.在线查看答案,但不知道什么最好的方法来解决这个….任何想法? HTTP Error 500.52 – URL Rewrite Module Error. Outbound rewrite rules cannot be applied when the content of the HTTP
尝试使用此模块尝试使用URL重写,但尝试点击URL时,我会收到以下错误.在线查看答案,但不知道什么最好的方法来解决这个….任何想法?

HTTP Error 500.52 – URL Rewrite Module Error.
Outbound rewrite rules cannot be applied when the content of
the HTTP response is encoded (“gzip”).**

IIS received the request; however,an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.

IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.

IIS was not able to process configuration for the Web site or application.

The authenticated user does not have permission to use this DLL.

The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

解决方法

我尝试过aracntido的评论,但在IIS7中似乎不起作用.它在IIS7.5的服务器上工作正常,所以我不知道是否有一个工作.

修复是在web.config中使用它:

<system.webServer>
  <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
</system.webServer>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读