프로그램 308

HTTP redirect TO HTTPS

Apache 를 이용하는경우 http접속을 강제로 https로 리다이렉트해줄수가 있다.이렇게 하면 보안접속으로만 접속이 가능하므로, 사용자 모르게 보안이 강화된다. REF : https://wiki.apache.org/httpd/RedirectSSL NameVirtualHost *:80 ServerName mysite.example.com DocumentRoot /usr/local/apache2/htdocs Redirect permanent /secure https://mysite.example.com/secure ServerName mysite.example.com DocumentRoot /usr/local/apache2/htdocs SSLEngine On# etc... 아래는 모든 접속을 HTTPS로..

프로그램/web 2016.05.24