[php] 카페24 http 접속 시에 https로 강제 리다이렉트 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[php] 카페24 http 접속 시에 https로 강제 리다이렉트

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 44,203회 작성일 21-04-12 06:22

본문

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# Redirect www to Non-www
RewriteCond %{ENV:HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^shop/list-([0-9a-z]+)$  shop/list.php?ca_id=$1&rewrite=1  [QSA,L]
RewriteRule ^shop/type-([0-9a-z]+)$  shop/listtype.php?type=$1&rewrite=1  [QSA,L]
RewriteRule ^shop/([0-9a-zA-Z_\-]+)$  shop/item.php?it_id=$1&rewrite=1  [QSA,L]
RewriteRule ^shop/([^/]+)/$  shop/item.php?it_seo_title=$1&rewrite=1  [QSA,L]
RewriteRule ^content/([0-9a-zA-Z_]+)$  bbs/content.php?co_id=$1&rewrite=1  [QSA,L]
RewriteRule ^content/([^/]+)/$  bbs/content.php?co_seo_title=$1&rewrite=1      [QSA,L]
RewriteRule ^rss/([0-9a-zA-Z_]+)$  bbs/rss.php?bo_table=$1        [QSA,L]
RewriteRule ^([0-9a-zA-Z_]+)$  bbs/board.php?bo_table=$1&rewrite=1      [QSA,L]
RewriteRule ^([0-9a-zA-Z_]+)/([^/]+)/$ bbs/board.php?bo_table=$1&wr_seo_title=$2&rewrite=1      [QSA,L]
RewriteRule ^([0-9a-zA-Z_]+)/write$  bbs/write.php?bo_table=$1&rewrite=1    [QSA,L]
RewriteRule ^([0-9a-zA-Z_]+)/([0-9]+)$  bbs/board.php?bo_table=$1&wr_id=$2&rewrite=1  [QSA,L]
</IfModule>

댓글목록

등록된 댓글이 없습니다.

Total 829건 3 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
779 제로 31701 05-17
778 제로 35134 05-14
777 제로 68860 05-14
776 제로 34422 05-14
775 제로 32803 05-13
774 제로 39964 05-01
열람중 제로 44204 04-12
772 제로 34441 03-20
771 제로 60609 09-21
770 제로 84683 07-30
769 제로 71762 07-15
768 제로 103178 07-10
767 제로 67338 07-07
766 제로 63859 06-15
765 제로 67127 05-28
764 제로 65934 05-06
763 제로 66434 03-27
762 제로 72836 03-25
761 제로 69914 03-25
760 제로 52761 03-20
759 제로 53197 03-16
758 제로 54595 03-16
757 제로 39778 03-04
756 제로 45627 02-29
755 제로 55016 02-10

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5470-4714
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
21,274
어제
28,182
최대
431,155
전체
6,774,708
Copyright (c) 株式会社YHPLUS. All rights reserved.