<i id="3uhb7"><video id="3uhb7"></video></i>
    <form id="3uhb7"></form>

    <thead id="3uhb7"><legend id="3uhb7"><fieldset id="3uhb7"></fieldset></legend></thead>

    問(wèn):
    如何修改IIS6.0的上傳文件大小限制?
    答:
    原因:  
      IIS6.0禁止上傳超過(guò)200kB的文件.因此你需要修改IIS的默認(rèn)設(shè)置.  
       
      技術(shù)背景  
      在IIS6.0中,AspMaxRequestEntityAllowed屬性指定了一個(gè)ASP請(qǐng)求(Request)可以使用的最大字節(jié)數(shù).如果Content-Length頭信息中包含的請(qǐng)求長(zhǎng)度超過(guò)了AspMaxRequestEntityAllowed的值,IIS將返回一個(gè)403錯(cuò)誤信息.  
      這個(gè)屬性值與MaxRequestEntityAllowed相似,但是是針對(duì)ASP請(qǐng)求的.假如你知道自己的ASP應(yīng)用只需要處理很少的請(qǐng)求數(shù)據(jù),你可以在WorldWideWebPublishingService(WWW發(fā)布服務(wù))層級(jí)設(shè)定全局的MaxRequestEntityAllowed屬性為1MB,并單獨(dú)設(shè)定AspMaxRequestEntityAllowed為一個(gè)較小的值.  
      如果你用的是IIS6,那么用下面的方法:  
      到微軟站點(diǎn)下載IIS6   Resource   Kit   Tools(http://www.microsoft.com/downloads/details.aspx?familyid=56FC92EE-A71A-4C73-B628-ADE629C89499&displaylang=en),安裝后利用MetabaseExplorer修改(local)\LM\W3SVC\AspMaxRequestEntityAllowed屬性(默認(rèn)為200K=204800),修改為一個(gè)大點(diǎn)的值就可以了;同時(shí)修改AspScriptTimeout屬性,就可以上傳大文件了。   
     

    [打印本頁(yè)]
      [關(guān)閉窗口]
    aaa无码视频在线观看,久久精品亚洲综合专区,日韩中文精品在线,97人妻在线公开视频
    <i id="3uhb7"><video id="3uhb7"></video></i>
      <form id="3uhb7"></form>

      <thead id="3uhb7"><legend id="3uhb7"><fieldset id="3uhb7"></fieldset></legend></thead>