DBA

HTTP Error 404.15 - Not Found 쿼리 문자열이 너무 긴 요청을 거부하도록 요청 필터링 모듈이 구성되어 있습니다. 본문

[3] Development/MVC(ASP.NET with C#)

HTTP Error 404.15 - Not Found 쿼리 문자열이 너무 긴 요청을 거부하도록 요청 필터링 모듈이 구성되어 있습니다.

코볼 2020. 5. 14. 15:45
728x90
반응형
SMALL

Web.config 에 ( maxQueryStringLength, maxQueryString ) 추가 또는 해당 값 ( maxQueryStringLength, maxQueryString ) 을 늘려 주면 된다.

 

<system.web>

  <httpRuntime maxQueryStringLength="204800" maxRequestLength="409600" />

</system.web>

 

 

<system.webServer>
  <security>
    <requestFiltering>
      <requestLimits maxAllowedContentLength="30000000" maxUrl="260" maxQueryString="204800" />
    </requestFiltering>
  </security>
</system.webServer>

 

 

httpRuntime 의 maxQueryStringLength 와

requestLimits 의 maxQueryString 값을 늘려 준다. 

 

 

출처 : https://moyaria.tistory.com/entry/maxQueryStringLength-%EA%B0%92%EC%9D%84-%EC%B4%88%EA%B3%BC%ED%95%A9%EB%8B%88%EB%8B%A4

출처 : https://vitalholic.tistory.com/363

 

728x90
반응형
LIST
Comments