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

前端之家收集整理的这篇文章主要介绍了asp.net – URL重写出站规则IIS7前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
尝试使用此模块尝试使用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>
原文链接:https://www.f2er.com/aspnet/250721.html

猜你在找的asp.Net相关文章