Laboratory/Windows Server

IIS 7 파일 업로드 제한 용량 변경

theking 2010. 5. 26. 13:19
%windir%\System32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/security/requestFiltering -requestLimits.maxAllowedContentLength:104857600 -commitpath:apphost

IIS 7에서 업로드 용량을 기본 30MB로 제한 되어있는것을 100MB로 변경

appcmd 명령어를 이용하여 IIS의 "Default Web Site"의 업로드 용량을 104857600로 변경

 -section:system.webServer/security/requestFiltering  옵션은 IIS의 Web 서버만 적용한다는 옵션