Wednesday, 14 March 2018

Replace Server from response header from IIS7 + in asp.net web.config

/////////////////

Step 1.  Download URLRewrite from microsoft server
 link for

·         English: WebPI / x86 / x64

for more details please visit at -
https://www.iis.net/downloads/microsoft/url-rewrite

Step 2.


<system.webServer>
    <rewrite>
      <outboundRules>
        <rule name="Strip Headers">
          <match serverVariable="RESPONSE_SERVER" pattern=".*" />
          <action type="Rewrite" value="ACIWRM" replace="true" />
          <conditions>
          </conditions>
        </rule>
      </outboundRules>
    </rewrite>
  </system.webServer>

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...