Etc
cafe24에서 강제로 https로 리다이렉팅 시키기
RewriteEngine OnRewriteCond %{HTTPS} !=onRewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L] 보통은 이렇게만 써도 강제로 https로 리다이렉팅이 가능합니다. 그런데 cafe24의 경우는 두 번째 부분이 좀 다르네요. RewriteEngine OnRewriteCond %{ENV:HTTPS} !=onRewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]
2020. 11. 11. 16:46