GCT Utilities

기능
전송되는 text/html 미디어중에 HTML본문에 있는 http를 https로 일괄변경합니다.
-----------------------------------------------
설치방법
1. \HttpsTransfer\bin\Debug에 있는 HttpsTransfer.dll를 웹사이트 bin폴더에 집어넣고,
2. iis에서 사이트를 열고
iis -> Module -> Add managed Module
name = HttpsTransfer
Kind = HttpsTransfer.HttpsTransfer
3. Web.config에 추가하세요.
<configuration>
<appSettings>
   <add key="HttpsTransfer:watch_content" value="text/html,application/javascript"/><!-- 콤마로 구분지으세요.-->
   <add key="HttpsTransfer:debug" value="true"/><!-- 로그 저장 여부 -->
   <add key="HttpsTransfer:LogFilename" value="c:\\temp\\HttpsTransfer.log"/><!-- 로그 파일명 -->
</appSettings>
</configuration>
-----------------------------------------------
포함된 Simpleweb/bin에는 각 dll이 있는데,
그 DLL들을 웹서버에 같이 배포해야 할 수 있습니다.
-----------------------------------------------
추가기록
서버의 .net framework버전 등에 따라 달라질 수 있고,
혹시나 다른 기능을 추가할 수 있어서 소스를 그대로 올립니다.
필요에 따라 적절히 수정이 필요합니다.
로그인 하시면 댓글을 남길 수 있습니다.