MEMO

web.config을 수정하는 방법

1.

<httpRuntime enableVersionHeader="false" />

 

 

2.

<rule name="removingserverheader" enabled="true">
<match serverVariable="RESPONSE_SERVER" pattern=".*" />
<action type="Rewrite" value="My Web Server" />
</rule>


3.<system.webServer>
   <httpProtocol>
      <customHeaders>
        <remove name="X-Powered-By" />
      </customHeaders>
    </httpProtocol>
  </system.webServer>