Jump to content

Yaso Kuuhl's Content

There have been 1 items by Yaso Kuuhl (Search limited from 11-May 20)


Sort by                Order  

#11388 shared ssl mislinks images

Posted by Yaso Kuuhl on 20 February 2007 - 06:49 AM in v1.x Configuration

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);