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>

  1. No Image 14Dec
    by ADMIN
    2008/12/14 by ADMIN
    Views 10899 

    보안서버 구축시 openssl/modssl/apache 버전 호환성

  2. No Image 14Dec
    by ADMIN
    2008/12/14 by ADMIN
    Views 11026 

    fcheck - 리눅스 시스템 무결성 검사 툴

  3. No Image 14Dec
    by ADMIN
    2008/12/14 by ADMIN
    Views 10270 

    보안서버로 redirection 설정 하기

  4. No Image 10Dec
    by ADMIN
    2008/12/10 by ADMIN
    Views 18234 

    리눅스 해킹점검 가이드

  5. No Image 25Nov
    by ADMIN
    2008/11/25 by ADMIN
    Views 9253 

    웹취약점 점검

  6. No Image 11Nov
    by ADMIN
    2008/11/11 by ADMIN
    Views 8065 

    wowhacker.com

  7. No Image 11Nov
    by ADMIN
    2008/11/11 by ADMIN
    Views 8542 

    ZONE-H.KR

  8. No Image 10Nov
    by ADMIN
    2008/11/10 by ADMIN
    Views 7820 

    CentOS 5.2 32bit 에 2.6.27.4 커널 + iptables 1.4.2 + connlimit, geoip 모듈 패치 설치하기

Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234