記錄:

 

啟用VTIGER SSL步驟如下:

  1. 取得SSL憑證
    1. 上網購買憑證或使用主機商提供之免費憑證
  2. 編輯設定檔
    1. 編輯vTiger之設定檔   /config.inc.php

    2. $dbconfigoption['ssl'] = false;
      $site_URL = 'http://example.com/'
    3. 將上述兩個變數變更 true && https://example.com.tw/
  3. 強制啟用SSL
    1. 編輯 .htaccess
    2. 下入下列程式碼至.htaccess
      RewriteEngine On
      RewriteCond %{SERVER_PORT} 80
      RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

​​​​​​​備註:

尚未知何種原因導致有網址設定CDN(Cloudfare)影響SSL生效,會無法使用SSL。

創作者介紹
創作者 Kuma 熊本部 的頭像
KumaChen

Kuma 熊本部

KumaChen 發表在 痞客邦 留言(0) 人氣( 3 )