독까의 이야기

ASP-HTML 맵핑 등록 방법 (web.config 수정)

 

웹사이트의 루트 디렉토리에 생성 된  web.config  파일을 메모장으로 열어서


<handlers>     

  ~~~~~~~~~~~~~~~~~~~~~~ 

</handlers>

 

안에 아래의 내용을 추가 삽입

 



<handlers>
<add name="html ASP" path=".html" verb="GET,HEAD,POST" modules="IsapiModule"  scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" preCondition="bitness64" />
<add name="HTM-TO-ASP" path="*.html" verb="*" modules="IsapiModule" scriptProcessor="C:\windows\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script"/>

</handlers>