3
christian thank you very much.
I almost can't believe I didn't naturally think to do something like this from the start. While I can't read french I was able to easily spot the fix from the small code snippet.
Just in case someone else needs the fix from Christian's link, here is it.
// In mainfile.php
// change this line
define('XOOPS_URL', 'https: //www.example.org');
// to the following
$port = $HTTP_SERVER_VARS['SERVER_PORT'];
if($port == "443"){
define('XOOPS_URL', 'https: //www.example.org');
} else {
define('XOOPS_URL', 'http: //www.example.org');
}
The solution is to have the server check what port the incoming request is coming in on. If the request is 443 (the default port used with ssl) we define the XOOPS_URL global variable as https instead of just http. This will ensure that all files which are included by your HTML templates (css, js, jpg, gif ect) will also use the secure protocol. Which is important if you want the lock in the web browser to show up.