코드이그나이터 기반 PHP 오픈소스 게시판 : 씨아이보드

https 연결 문제

  • 강임
  • 1
  • 1,953
  • 글주소
  • 11-02

config url을 https: 로 변경하고 


.htaccess를 아래와 같이 변경 하였는데, 연결이 되지 않는데, 어떻게 해결해야 할까요. 전혀 log도 나오지 않아요. .



RewriteEngine on


RewriteCond %{REQUEST_URI} !^(/index\.php|/assets/|/robots\.txt|/favicon\.ico)

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?$1 [L]


RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]

RewriteRule ^(.*)$ https://%1/$1 [R=301,L]


RewriteCond %{HTTPS} !on

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]