locked
How to remove Server: Microsoft-IIS/8.5 header banner in IIS RRS feed

  • Question

  • User-1688538016 posted

    Dear All,

    I want to remove following banner from my response, how and where to do the same.

    Server: Microsoft-IIS/8.5

    Thanks in advance.

    Wednesday, June 17, 2015 9:33 AM

Answers

  • User1183424175 posted

    Hi,

    I have tested it on my lab with windows server 2012 R2 and IIS 8.5. The URL rewrite works for me. You can try installing it via web platform installer.

    <outboundRules>
                    <rule name="changeServerHeader">
                        <match serverVariable="RESPONSE_Server" pattern=".*" />
                        <action type="Rewrite" value="Hello sven, This is iis web server." />
                    </rule>

    The following is result picture:

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, June 26, 2015 2:51 AM
  • User-801366587 posted

    Hi,
    We use URL rewrite with IIS 8.5 in our environment it works fine. Are you getting any error when installing URL rewrite.

    MArk as answer if this helped youSmile 

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, June 29, 2015 8:21 AM

All replies

  • User-801366587 posted
    Hi,
    I have written a blog on the same topic : http://bharathagthag.blogspot.in/2014/12/remove-iis-version-and-x-powered-by.html?m=1

    Mark as answer if this helped you.
    Wednesday, June 17, 2015 1:41 PM
  • User-1688538016 posted

    Your article is not live. Please check.

    Hi,
    I have written a blog on the same topic : http://bharathagthag.blogspot.in/2014/12/remove-iis-version-and-x-powered-by.html?m=1

    Mark as answer if this helped you.

    Thursday, June 18, 2015 3:12 AM
  • User-801366587 posted

    Hi,
    Updated link - http://bharathag.blogspot.in/2014/12/remove-iis-version-and-x-powered-by.html

    Mark as answer if this helped youSmile

    Friday, June 19, 2015 4:11 AM
  • User-1688538016 posted

    Sir, I asked for IIS 8.5 (check subject header) and I know how to remove the headers till IIS 7.5

    Hi,
    Updated link - http://bharathag.blogspot.in/2014/12/remove-iis-version-and-x-powered-by.html

    Mark as answer if this helped youSmile

    Friday, June 19, 2015 5:18 AM
  • User-801366587 posted

    Hi,
    Some confusion happened. For IIS 8.x you can use either URL rewrite rule or custom module to remove server header from HTTP response header.

    Details on setting up custom Module - www.dionach.com/blog/easily-remove-unwanted-http-headers-in-iis-70-to-85

    The typical URL rewrite rule looks like this

    enter image description here

    Similar discussion : http://stackoverflow.com/questions/22401219/remove-server-response-header-iis-8-0-8-5

    MArk as answer if this helped youSmile

    Friday, June 19, 2015 6:06 AM
  • User-1688538016 posted

    URL rewrite works till IIS 8.0 only. (http://www.iis.net/downloads/microsoft/url-rewrite) not for IIS 8.5

    And Dionach link is missing the EXE and no customer would install/run the 3rd-party exe on server.

    Hi,
    Some confusion happened. For IIS 8.x you can use either URL rewrite rule or custom module to remove server header from HTTP response header.

    Details on setting up custom Module - www.dionach.com/blog/easily-remove-unwanted-http-headers-in-iis-70-to-85

    The typical URL rewrite rule looks like this

    enter image description here

    Similar discussion : http://stackoverflow.com/questions/22401219/remove-server-response-header-iis-8-0-8-5

    MArk as answer if this helped youSmile

    Sunday, June 21, 2015 7:21 AM
  • User-801366587 posted
    As far as I know URL rewrite works with IIS 8.5 as well.
    Download it from here
    http://www.iis.net/downloads/microsoft/url-rewrite

    or if you already have Web Platform Installer on your machine you can install if from there.
    Sunday, June 21, 2015 8:07 AM
  • User-1688538016 posted

    Please check the image on the link :- http://imgur.com/55CyWSR

    As far as I know URL rewrite works with IIS 8.5 as well.
    Download it from here
    http://www.iis.net/downloads/microsoft/url-rewrite

    or if you already have Web Platform Installer on your machine you can install if from there.

    Wednesday, June 24, 2015 3:05 AM
  • User-801366587 posted

    Hi ,
    Did you tried installing it? Mostly it will work with IIS 8.5 as wellSmile

    Wednesday, June 24, 2015 5:04 AM
  • User-1688538016 posted

    I tried all this, then I posted the query in this forum.

    Anything your get it more, do let me know.

    Hi ,
    Did you tried installing it? Mostly it will work with IIS 8.5 as wellSmile

    Wednesday, June 24, 2015 5:40 AM
  • User1183424175 posted

    Hi,

    I have tested it on my lab with windows server 2012 R2 and IIS 8.5. The URL rewrite works for me. You can try installing it via web platform installer.

    <outboundRules>
                    <rule name="changeServerHeader">
                        <match serverVariable="RESPONSE_Server" pattern=".*" />
                        <action type="Rewrite" value="Hello sven, This is iis web server." />
                    </rule>

    The following is result picture:

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, June 26, 2015 2:51 AM
  • User-801366587 posted

    Hi,
    We use URL rewrite with IIS 8.5 in our environment it works fine. Are you getting any error when installing URL rewrite.

    MArk as answer if this helped youSmile 

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, June 29, 2015 8:21 AM