Skip to content

조회 수 10270 추천 수 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
번호 제목 글쓴이 날짜 조회 수
8 보안서버 구축시 openssl/modssl/apache 버전 호환성 ADMIN 2008.12.14 10899
7 fcheck - 리눅스 시스템 무결성 검사 툴 ADMIN 2008.12.14 11026
» 보안서버로 redirection 설정 하기 ADMIN 2008.12.14 10270
5 리눅스 해킹점검 가이드 ADMIN 2008.12.10 18234
4 웹취약점 점검 ADMIN 2008.11.25 9253
3 wowhacker.com ADMIN 2008.11.11 8065
2 ZONE-H.KR ADMIN 2008.11.11 8542
1 CentOS 5.2 32bit 에 2.6.27.4 커널 + iptables 1.4.2 + c... ADMIN 2008.11.10 7818
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234