Skip to content

조회 수 10272 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
1) 원본 소스에서 http를 https 로 모두 변경

vi index.html

:%s/http/https/g

2) apache redirection 설정 (httpd.conf)

<VirtualHost koreasaint.com:80>
    ServerAdmin saint@koreasaint.com
    ServerName koreasaint.com
    ServerAlias www.koreasaint.com
    DocumentRoot /home
    CustomLog logs/koreasaint.com-access_log combined
    Redirect / https://koreasaint.com
</VirtualHost>


3) html 코드를 이용한 방법 ( 가장간단함..ㅋ index.html 에 한줄 추가 )

index.html 에 다음 한줄만 추가하믄 된당.

<meta http-equiv='refresh' content='0; url=https://koreasaint.com/index.html' target='_top'>


4) Java Script를 이용한 redirection

index 페이지에 다음 script 추가

<script>
var url = https://www.koreasaint.com;
window.location.replace(url);
</script>

List of Articles
번호 제목 글쓴이 날짜 조회 수
88 /etc/passwd 구조 l2zeo 2010.03.31 34921
87 64bit 시스템에 ssl 설치 후 실행 시 X509_free 오류 ADMINPLAY 2009.07.19 9704
86 Apache 에 ModSecurity 모듈 설치하기 ADMINPLAY 2009.08.03 10541
85 apache 웹방화벽 modsecurity용 웹설정 툴, Remo file ADMINPLAY 2009.09.09 9448
84 apache 웹방화벽 모듈 modsecurity용 웹설정 툴, Remo file ADMINPLAY 2009.03.17 10035
83 CentOS 5.2 32bit 에 2.6.27.4 커널 + iptables 1.4.2 + c... ADMIN 2008.11.10 7822
82 CentOS Portsentry 1.2 소스설치 오류 ADMINPLAY 2014.01.19 7055
81 Cisco/Tip/라우터,스위치에서 패킷 캡쳐하기 file l2zeo 2010.03.23 16129
80 DDOS - iptables 방화벽 초간단 문서 ADMINPLAY 2009.05.28 12304
79 denyhosts (ssh, ftp 등의 접근 차단) ADMINPLAY 2010.05.03 21362
78 DOS Attack을 막기 위한 간단한 방법 ADMINPLAY 2009.05.22 9570
77 fcheck - 리눅스 시스템 무결성 검사 툴 ADMIN 2008.12.14 11028
76 find 명령어 활용(보안관련) ADMINPLAY 2009.08.08 9601
75 iframe 이용한 악성코드 삽입, 홈페이지 변조 사고 대비 ... ADMINPLAY 2009.10.15 10808
74 iptables 기본 ADMINPLAY 2009.05.22 8388
73 iptables 리눅스? NETFILTER관련 1 l2zeo 2010.03.08 10127
72 iptables 명령어로 ip 차단 법. ADMINPLAY 2009.05.28 9285
71 iptables 설정, centos64 설치 간단셋팅 ADMINPLAY 2009.05.28 8856
70 iptables 옵션 및 상태 추적 테이블 및 rule ADMINPLAY 2009.11.30 8853
69 iptables 포트 포워딩 ADMINPLAY 2009.06.04 12039
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234