亚洲色偷偷偷网站色偷一区,3D精品重囗动漫巨大23,九九热在线视频,精品亚洲国产动态图

  1. <dfn id="dmow3"></dfn>
  2. <ul id="dmow3"></ul>

    1. <div id="dmow3"><small id="dmow3"></small></div>
    2. 長治網(wǎng)站建設(shè)
      IIS7~IIS8.5刪除或修改服務(wù)器協(xié)議頭Server

      需求:在IIS 7、7.5、8.0、8.5和ASP.NET中刪除HTTP響應(yīng)標(biāo)頭,修改或隱藏IIS 7、7.5、8.0、8.5的Server頭信息。

      解決方案:使用url-rewrite規(guī)則

      1、先安裝 http://www.iis.net/downloads/microsoft/url-rewrite

      腳本之家下載 https://www.jb51.net/softs/614384.html

      2、把下面復(fù)制到web.config

      1
      2
      3
      4
      5
      6
      7
      8
      <rewrite> 
       <outboundRules rewriteBeforeCache="true">
        <rule name="Remove Server header">
         <match serverVariable="RESPONSE_Server" pattern=".+" />
         <action type="Rewrite" value="Apache" />
        </rule>
       </outboundRules>
      </rewrite>

      注意 ,這為返回的Server協(xié)議頭,value按需求修改。

      3、重啟IIS

      如果上面的操作不行可以參考下面的文章

      刪除X-Powered-By HTTP頭

      IIS7中移除X-Powered-By HTTP頭的方法是:

      1 啟動IIS Manager
        2 點擊計算機名
        3 選擇你需要修改的站點并 雙擊 HTTP響應(yīng)頭部分
        4 所有的自定義HTTP頭全在這里了,刪除相應(yīng)的頭僅需要點擊右邊的 Remove 按鈕

      刪除X-AspNet-Version HTTP頭

      修改web.config配置文件 在 <system.web> 塊內(nèi)添加下面這行

      <httpRuntime enableVersionHeader="false" />

      刪除X-AspNetMvc-Version HTTP頭

      在Global.asax的Application_Start事件中將MvcHandler類的DisableMvcResponseHeader屬性設(shè)置為True
      MvcHandler.DisableMvcResponseHeader = True

      刪除Server HTTP頭

      下載UrlScan
      Download the setup MSI file for UrlScan 3.1 from one of the following URLs to your computer:
      x86: http://www.microsoft.com/downloads/details.aspx?FamilyID=ee41818f-3363-4e24-9940-321603531989
      x64: http://www.microsoft.com/downloads/details.aspx?FamilyID=361e5598-c1bd-46b8-b3e7-3980e8bdf0de

      安裝UrlScan(需要安裝IIS-Metabase,即IIS 6 元數(shù)據(jù)庫兼容性組件)后,
      修改 C:WindowsSystem32inetsrvurlscanUrlScan.ini 文件,設(shè)置 RemoveServerHeader=1

      然后重啟IIS

      2006-2014 IT0355.com 山西中聯(lián)科創(chuàng)科技有限公司. All Rights Reserved.
      電話:0355-3728808 傳真:0355-3728808
      ICP備案號:晉ICP備06003721號本站已通過國際W3C認(rèn)證
      關(guān)鍵字:中聯(lián)科創(chuàng),長治網(wǎng)站建設(shè),長治網(wǎng)站推廣,長治網(wǎng)絡(luò)工程,長治軟件開發(fā),山西網(wǎng)站建設(shè),山西軟件開發(fā) 長治五金網(wǎng)