精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學(xué)習(xí)啦>學(xué)習(xí)電腦>網(wǎng)絡(luò)知識>網(wǎng)絡(luò)基礎(chǔ)知識>

      電腦的IIS設(shè)置與代碼編寫方法

      時間: 子明1009 分享

        隨著信息技術(shù)的發(fā)展,計算機(jī)已經(jīng)廣泛應(yīng)用于各個領(lǐng)域,越來越多企業(yè)重視網(wǎng)絡(luò)服務(wù)并將其作為實現(xiàn)差異化競爭優(yōu)勢的重要手段。下面是學(xué)習(xí)啦小編為大家整理的關(guān)于電腦的IIS設(shè)置與代碼編寫,一起來看看吧!

        電腦的IIS設(shè)置與代碼編寫方法

        1:處理映射程序

        添加模塊映射 請求路徑 *.html 模塊選擇 ServerSideIncludeModule,名稱填寫:SSINC-html

        2:重新啟動IIS

        3:其中一個頁面 中寫<!--#include virtual="/IndexInclude/downcc.html" -->

        4:downcc.html 為utf-8編碼,發(fā)現(xiàn)在引入后頁面有空白頁,請刪除BOM

        5:生成downcc.html時 編碼

        Encoding code = new UTF8Encoding(false); // create encoding with no BOM

        StreamWriter sw = new StreamWriter(path + htmlfilename, false, code);

        這樣就解決IIS7不支持include的問題,以及出現(xiàn)頁面空白的問題。

        圖文教程:

        1、找到處理映射

        2、雙擊進(jìn)去找到“添加模塊映射”;

        3、進(jìn)入到模塊映射中,如圖配置

        4、點(diǎn)擊“請求限制”;

      2838329