Close Menu
    Facebook X (Twitter) Instagram
    KLOGKLOG
    • 홈
    • 뉴스
    • 리뷰
    • 금융
    • 테크놀로지
    • 생활정보
    • 다운로드
    Facebook X (Twitter) YouTube
    KLOGKLOG
    Home»테크놀로지»라이트세일 아파치 리다이렉션 설정
    테크놀로지

    라이트세일 아파치 리다이렉션 설정

    아마존 라이트세일에서 아파치 설정을 수정해 리다이렉션을 진행해 보세요.
    KlogBy Klog2023년 12월 11일15개의 댓글1 Min Read

    아마존 라이트세일 아파치 리다이렉션 설정 방법 간단하게 남깁니다. 사실 제가 보려고 기록 남겨요 ^^ 내용은 간단합니다. 라이트세일 아파치 설정을 수정해서 리다이렉션을 구성하고 아파치를 재시작 하는 방법입니다.

    라이트세일 아파치 리다이렉션 설정

    [ 목차 ]

    • 리다이렉션이 필요한 상황
    • 아파치 리다이렉션 설정
    • 아파치 서버 재시작

    리다이렉션이 필요한 상황

    아마존 라이트세일에서 워드프레스 첫 세팅 후 도메인을 설정했습니다. 그랬더니 처음 설치한 공인IP 3.*.63.177가 계속 남아 http://3.*.63.177로 접속이 가능했습니다.

    아마존 라이트세일에서 로드밸런서는 유료라서 아래와 같이 아파치 설정을 통해 IP 3.*.63.177로 접속하면 https://www.klog.kr로 리다이렉션 이동하도록 설정했습니다.

    아파치 리다이렉션 설정

    sudo vi /opt/bitnami/apache/conf/vhosts/wordpress-vhost.conf 와 sudo vi /opt/bitnami/apache/conf/vhosts/wordpress-https-vhost.conf를 각각 실행하고 아래 코드를 추가한다.

    # BEGIN: klog
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(3.*.63.177)
    RewriteRule (.*) https://www.klog.kr/$1 [R=301,L]
    # END: klog

    참고로 라이트세일 아파치 설정 문제인지 .htaccess 파일에서 리다이렉션이 안 먹힌다. (내가 뭘 잘 못했는지 모르겠지만…)

    아파치 서버 재시작

     sudo /opt/bitnami/ctlscript.sh restart apache

    이상입니다.

    [더 알아보기]

    https://www.klog.kr/technology/모바일-리다이렉트

    모바일 리다이렉트 자바스크립트
    모바일 리다이렉트 자바스크립트 입니다. 최근 사이트는 반응형 모바일웹을 지원하게 개발하는것이 당연하지만 아직도 일부에서는 모바일웹과 PC웹을 분리해 개발하고 운영하는 곳이 있습니다.
    www.klog.kr
    바로가기
    아파치 리다이렉션
    Share. Facebook Twitter Pinterest Email
    Related Posts
    100

    그록3 홈페이지 바로가기 및 그록3 사용법 안내

    2025년 05월 09일
    90

    구글 앱스토어 환불 규정 안내

    2025년 05월 08일
    15개의 댓글
    1. batmanapollo.ru on 2023년 12월 12일 13:39

      Психолог (др.-греч. ψυχή — душа; λόγος —
      знание) — специалист, занимающийся изучением проявлений, способов и
      форм организации психических явлений личности в различных областях человеческой деятельности для решения
      научно-исследовательских и прикладных
      задач, а также с целью оказания психологической помощи, поддержки и сопровождения.

      Reply
    2. russianmanagement.com on 2023년 12월 13일 01:19

      Психическое здоровье включает в себя наше эмоциональное, психологическое и социальное благополучие.
      Это влияет на то, как мы думаем, чувствуем и действуем.
      Оно также помогает определить, как
      мы справляемся со стрессом, относимся к другим и делаем здоровый выбор.

      Психическое здоровье важно на каждом этапе жизни:
      с детства и подросткового возраста до взрослой
      жизни.ние) — специалист, занимающийся изучением проявлений, способов и форм организации психических явлений
      личности в различных областях человеческой деятельности для
      решения научно-исследовательских
      и прикладных задач, а также с целью оказания психологической помощи, поддержки и сопровождения.

      Reply
    3. Cristine on 2024년 01월 06일 01:50

      Hello to every one, because I am in fact keen of
      reading this website’s post to be updated daily. It carries nice data.

      Reply
    4. https://padlet.com/findcampinggear11brpkk/my-swanky-padlet-mjfomlyib95d8plq/wish/2815410424 on 2024년 01월 06일 03:59

      That is a good tip especially to those fresh to the blogosphere.
      Short but very accurate info… Thanks for sharing this one.

      A must read post!

      Reply
    5. www.theverge.com on 2024년 01월 09일 04:27

      Hi everybody, here every one is sharing such knowledge, thus it’s fastidious to read this blog, and I used to visit this blog all the time.

      Reply
    6. Felisha on 2024년 01월 09일 18:24

      Very soon this web page will be famous amid all blogging people, due to it’s
      nice articles

      Reply
    7. Concetta on 2024년 01월 11일 03:10

      I’ve been browsing online more than three hours today,
      but I by no means found any fascinating article like yours.
      It is beautiful price sufficient for me. In my view, if all
      site owners and bloggers made just right content material
      as you probably did, the internet can be a lot more
      helpful than ever before.

      Reply
    8. Sunny on 2024년 01월 11일 03:50

      If some one wishes to be updated with hottest technologies afterward he must be visit this
      website and be up to date daily.

      Reply
    9. Geneva on 2024년 01월 11일 16:23

      Wow, this post is pleasant, my sister is analyzing such things, thus I am going to convey her.

      Reply
    10. Dalton on 2024년 01월 11일 16:57

      Unquestionably imagine that that you said. Your favorite reason appeared to be at the net the
      simplest thing to keep in mind of. I say to you, I definitely
      get irked whilst people think about issues that
      they just do not understand about. You controlled to hit the nail upon the top as smartly as outlined out the entire thing with no need side
      effect , people could take a signal. Will probably be again to get more.
      Thanks

      Reply
    11. ams3.digitaloceanspaces.com on 2024년 01월 11일 17:19

      Ridiculous story there. What happened after? Thanks!

      Reply
    12. wiki-legion.win on 2024년 01월 11일 17:36

      Very great post. I simply stumbled upon your blog and wanted to say that I’ve really enjoyed browsing
      your blog posts. In any case I’ll be subscribing on your
      rss feed and I’m hoping you write once more very soon!

      Reply
    13. www.divephotoguide.com on 2024년 01월 11일 18:50

      Aw, this was an exceptionally nice post. Taking the time and actual
      effort to generate a top notch article… but what can I
      say… I put things off a lot and never seem to get anything done.

      Reply
    14. Freya on 2024년 01월 13일 03:23

      Write more, thats all I have to say. Literally, it seems
      as though you relied on the video to make your point.
      You definitely know what youre talking about, why throw
      away your intelligence on just posting videos to your site when you could
      be giving us something enlightening to read?

      Reply
    15. Chrisatova on 2024년 04월 08일 22:17

      Hello, im noob 🙂

      Reply
    Leave A Reply Cancel Reply

    100
    생활정보

    서민금융진흥원 홈페이지 바로가기 (www.kinfa.or.kr)

    By Klog2025년 06월 17일0

    서민금융진흥원 홈페이지 바로가기 및 이용 안내입니다. 서민금융진흥원 (서금원)은 서민의 금융생활 및 경제적 자립지원을 통해 포용금융을…

    10.0

    불과물 5탄 게임하기 (2인용 게임 즐기기)

    2025년 06월 16일

    토탈스위스코리아 홈페이지 바로가기

    2025년 06월 15일
    쿠-팡-파-트-너-스-활-동-안-내
    Facebook X (Twitter) Instagram Pinterest YouTube
    • KLOG 소개
    • 개인정보처리방침
    • 책임의한계와법적고지
    • 저작권및이용안내
    • 이메일무단수집거부
    • AI수집거부
    © 2025 KLOG. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.