Apache 설정

오늘은 리눅스(Linux)에서 Apache의 80 to 443 redirect에 대해 포스팅 하려고 합니다. 80 to 443이라는 의미는 http://[url]로 연결을 했을 때 자동으로 https://[url]로 연결한다는 의미입니다. 해당 설정은 Apache가 설치되어있는 경로에서 httpd.conf를 수정하면 됩니다. 각 Apache 설정에 따라 조금씩 다를 수 있지만 80으로 들어오는 설정에서 아래 내용을 추가해주면 됩니다. RewriteEngine On RewriteCond %{HTTPS} off RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L] ServerName 172.16.15.134 #433 redirect 설정 RewriteEngi..
보노보노92
'Apache 설정' 태그의 글 목록