:::
XOOPS輕鬆架快速上手

關於網站SSL問題

discuss pic 2019-01-02 00:20:43

TAD 老師您好

我目前已經有用輕鬆架  架站了

但因為現在FB快速登入需要HTTPS開頭的網址才能順利

有上網爬了一下文,也有看到您有教學SSL

我有下載憑證了,但不知道該如何使用OPENSSL

 

請問還有更詳細的教學嗎?謝謝唷!

discuss pic 2019-01-03 13:47:55
tad

請自行google

discuss pic 2019-07-19 00:33:23

記得將主機的SSL安裝好後,xoops部分還要修改 mainfile.php 檔案內的"紅字部分"就能讓網站完整支援SSL

 

// URL Association for SSL and Protocol Compatibility
    $http = 'http://';
    if (!empty($_SERVER['HTTPS'])) {
        $http = ($_SERVER['HTTPS'] === 'on') ? 'https://' : 'http://';
    }
    define('XOOPS_PROT', $https);

    // XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://kfking.org');
    define('XOOPS_URL', 'https://kfking.org');

:::

http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FDiscussID%3D5241%26BoardID%3D34

計數器

今天: 5033503350335033
昨天: 3438343834383438
總計: 7395362739536273953627395362739536273953627395362