https 요청으로 들어온 것을 https로 redirect하려면 다음과 같이 httpd.conf나 .htaccess 파일에 설정을 추가해야 함
.htaccess 파일에는 엘리먼트 없이 그 내부의 내용만 사용하면 됨
RewriteEngine On
RewriteCond % off
RewriteRule (.*) https://%%
rewrite 모듈이 활성화되어 있어야 사용가능함
https 요청으로 들어온 것을 https로 redirect하려면 다음과 같이 httpd.conf나 .htaccess 파일에 설정을 추가해야 함
.htaccess 파일에는 엘리먼트 없이 그 내부의 내용만 사용하면 됨
RewriteEngine On
RewriteCond % off
RewriteRule (.*) https://%%
rewrite 모듈이 활성화되어 있어야 사용가능함