IIS

IIS 7.0 では大きいファイルのアップロードに、特別な設定が必要です。

%windir%System32\inetsrv\config\フォルダ直下の「applicationHost.config」設定ファイルを開いて

変更点1:

<configuraton>
  <configSections>
     <sectionGroup name="system.webServer">
        <sectionGroup name="security">
          <section name="requestFiltering" overrideModeDefault="Deny" />

下記のように「requestFiltering」の「overrideModeDefault」属性の値を「Allow」に設定する必要があります。

          <section name="requestFiltering" overrideModeDefault="Allow" />

変更点2:

<system.webServer>
  <security>
     <requestFiltering>
        <requestLimits maxAllowedContentLength="2147483647" />
     </requestFiltering>
  </security>

Webアプリケーション側の「Web.config」は、下記のように、「maxRequestLength」(単位:バイト)と「executionTimeout」(単位:秒)属性を設定する必要があります。

<system.web>
   <httpRuntime maxRequestLength="2147483647" executionTimeout="3600" />


★月額105円~/容量最大30GB/機能満載! ロリポップ!レンタルサーバー ★

コメント:



(画像の文字列を入力して下さい)

トップ   編集 凍結 差分 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019/12/02 (月) 12:34:06 (1628d)

yVoC[UNLIMITȂ1~] ECirŃ|C Yahoo yV LINEf[^[Ōz500~`I


z[y[W ̃NWbgJ[h COiq 萔O~ył񂫁z COsیI COze