Jump to content

 

Yaso Kuuhl

Member Since 20 Feb 2007
Offline Last Active Aug 06 2007 08:09 AM
-----

Posts I've Made

In Topic: shared ssl mislinks images

20 February 2007 - 06:49 AM

CS-Cart 1.3.4 has special script ("core/https_detect.php") where several most popular https detection methods are placed. You can add your own method there.

This is what helped for my similar problem. My customers hoster use an ssl-proxy (sslsites.de), adding the following lines to https_detect.php solved my problem with ssl-redirection and images+stylesheets links:

} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='sslsites.de')) {
define('HTTPS', true);