IIS 확장자가 없는 파일 MIME 형식 등록

OS/Microsoft|2020. 4. 21. 16:18
반응형

확장자가 없는 파일의 경우 .* 로 등록하면 처리가 안됨..

그냥 . 만 입력해서 추가하면 됩니다.

 

원하는 mime 형식이 있다면 입력하면 되겠고 아래와 같이 text/plain 하면 텍스트 형태로 처리됨.

 

보통은 확장자가 있기마련이지만 SSL 인증 할때 파일 업로드해서 인증 받는 경우 필요했음.

 

 

 

 

댓글()

404.8 - Not Found HiddenSegment 섹션을 포함하는 URL의 경로를 거부하도록 요청 필터링 모듈이 구성되어 있습니다.

OS/Microsoft|2019. 7. 16. 11:58
반응형

404.8 오류가 뜨는데 원인을 찾을 수 없었다면...

 

404.8 - Not Found 

HiddenSegment 섹션을 포함하는 URL의 경로를 거부하도록 요청 필터링 모듈이 구성되어 있습니다.

 

https://docs.microsoft.com/en-us/iis/configuration/system.webServer/security/requestFiltering/hiddenSegments/

 

Hidden Segments

Overview The <hiddenSegments> element contains a collection of <add> elements that identify certain URLs IIS 7 will make inaccessible to clients....

docs.microsoft.com

 

 

 

 

 

 

 

 

 

댓글()

Msxml2.ServerXMLHTTP error '80072ee2' - The operation timed out

에러노트|2019. 3. 8. 12:23
반응형

외부 http 통신을 위해 Msxml2.ServerXMLHTTP 를 사용했으나

외부 서비스와의 통신은 정상이었으나 로컬에 위치한 서비스 호출시 

80072ee2 에러 발생.



30분넘게 구글링해서 이것저것 해보았으나 해결이 안되었고

어찌어찌 찾다가 결국 MS 에서찾아냄.


https://social.msdn.microsoft.com/Forums/ko-KR/67522db4-cd9d-46b1-9621-eb0ba09f49de/msxml2serverxmlhttp-problem-moved-from-server-2003iis6-to-2008iis7-simple-xml-between-asp-pages?forum=xmlandnetfx




If is your problem is; While using MSXML2.ServerXMLHTTP

if the url for example MSDN.com its works

but if url is yourdomain.com it does'nt works ( reason is timeout !)

don't listen anothers solutions bla bla bla (update components, make 5 workers, add new users, copy files to another directory, use this script)

solution is = ASP -> Debugging Properties -> Enable Server-side Debugging attribute have to be False

(it is False in default, but many developers set it True for handling errors while programming)

Thats it...

Have a nice day ...



디버깅 한다고 서버 디버깅 활성화 해둔것이 문제였다.


댓글()