zoukankan      html  css  js  c++  java
  • url rewrite导致的500.19 0x8007000d

    https://stackoverflow.com/questions/13532447/http-error-500-19-iis-7-5-error-0x8007000d

    It seems you are using the url rewrite functionality. Please make sure that you have installed your rewrite software in the server other wise you may get this error.

    To check whether URL rewrite is installed you can go to "IIS Home" and see if there is URL rewrite component in the list of components.

    If you didn't find one then you can install the same using the below link: http://www.iis.net/downloads/microsoft/url-rewrite

    You can also use the Microsoft Web Platform Installer and install the product URL Rewrite.

    iis 10以下的版本,需要如下配置,并且另外安装url rewrite module

    <rewrite>

        <outboundRules rewriteBeforeCache="true">
          <rule name="Remove Server header">
            <match serverVariable="RESPONSE_Server" pattern=".+" />
            <action type="Rewrite" value="Edenred" />
          </rule>
        </outboundRules>
      </rewrite>

    iis 10的配置

    <system.webServer>

        <security>
            <requestFiltering removeServerHeader="true" />
        </security>
    </system.webServer>

    扩展阅读

    Tip/Trick: Url Rewriting with ASP.NET

    Url Rewrite 再说Url 重写

     常用的URL-Rewrite方案 
    URL-Rewrite既可以发生在Web服务器(IIS/Apache)一级,也可以发生在Web应用程序一级(Asp.Net/Jsp/PHP/…)。

  • 相关阅读:
    杭电2042
    杭电2041
    杭电2040
    杭电2046
    SPOJ
    SPOJ
    SPOJ
    HDU
    HDU
    HDU
  • 原文地址:https://www.cnblogs.com/chucklu/p/10483247.html
Copyright © 2011-2022 走看看