사용자 도구

사이트 도구


wiki:web:apache

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
wiki:web:apache [2020/04/03 20:01]
dhan 만듦
wiki:web:apache [2023/01/30 19:33] (현재)
dhan
줄 1: 줄 1:
 ====== Apache ===== ====== Apache =====
 +<WRAP left notice 80%>
 +  * description : 주레피 현황
 +  * author      : 주레피
 +  * email       : dhan@repia.com
 +  * lastupdate  : 2020-04-02
 +</WRAP>
  
 +===== httpd.conf =====
 +http 로 들어올 경우 https 로 강제 전환(force redirect) \\
 +아파치 모듈중 mod_rewrite 를 사용하면 가능하다. \\
 +<code xml>
 +<IfModule mod_rewrite.c>
 +RewriteEngine On
 +RewriteCond %{HTTPS} !=on
 +RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R,L]
 +</IfModule>
 +</code>
 +[[https://www.lesstif.com/system-admin/http-https-force-redirect-6291722.html|http 로 들어올 경우 https 로 강제 전환(force redirect)]] \\
 +[[https://sarc.io/index.php/httpd/1120-apache-https-http-redirect-rewrite|Apache HTTPS/HTTP 리다이렉트(Redirect/Rewrite) 하는 방법]] \\
  
 +===== Case Study =====
 +  * [[https://linuxhint.com/get-rid-apache-test-page-centos/|How to Get Rid of Apache Test Page in Centos, 기본 테스트 페이지 변경하기]]
 +<code bash>
 +아래의 파일을 수정해야 합니다.
  
 +$> ls /etc/httpd/conf.d/welcome.conf 
 +</code>
  
 +===== SSL(https) 적용 가이드 =====
  
 +  * [[wiki:web:apache:SSL 적용 가이드]]// 
 +//
  
 ===== Ref ===== ===== Ref =====
줄 13: 줄 39:
   * [[https://aeac.tistory.com/23|Linux Apache - 가상호스트설정(Apache virtual host)]] Apache 2.4.x   * [[https://aeac.tistory.com/23|Linux Apache - 가상호스트설정(Apache virtual host)]] Apache 2.4.x
  
- +{{tag>주레피 김토피아 apache ssl https}}
-{{tag>주레피 apache}}+
/volume1/web/dokuwiki/data/attic/wiki/web/apache.1585911687.txt.gz · 마지막으로 수정됨: 2022/03/10 19:52 (바깥 편집)