Page 1 of 1

Shared SSL on Version 1.4.9.3

Posted: Fri Jan 28, 2011 8:18 am
by Stuff4Toys
I need to use the primary domains shared SSL on http://www.chargerpros.com
The Catalog URL would then be https://www.primarydomain.com/CHARGERPROS/

This is working for the admin when I changed the appropriate defines

Where do I enter this info for the store?

I am pretty sure it has to be entered here somewhere, but ... where?

Code: Select all

// Store
$query = $db->query("SELECT * FROM " . DB_PREFIX . "store WHERE url = '" . $db->escape('http://' . $_SERVER['HTTP_HOST'] . rtrim(dirname($_SERVER['PHP_SELF']), '/.\\') . '/') . "' OR url = '" . $db->escape('http://' . str_replace('www.', '', $_SERVER['HTTP_HOST']) . rtrim(dirname($_SERVER['PHP_SELF']), '/.\\') . '/') . "'");

foreach ($query->row as $key => $value) {
	$config->set('config_' . $key, $value);
}

define('HTTP_SERVER', $config->get('config_url'));
define('HTTP_IMAGE', HTTP_SERVER . 'image/');

if ($config->get('config_ssl')) {
	define('HTTPS_SERVER', 'https://' . substr($config->get('config_url'), 7));
	define('HTTPS_IMAGE', HTTPS_SERVER . 'image/');	
} else {
	define('HTTPS_SERVER', HTTP_SERVER);
	define('HTTPS_IMAGE', HTTP_IMAGE);	
}
Thanks
JOhn ><>

Re: Shared SSL on Version 1.4.9.3

Posted: Fri Jan 28, 2011 3:19 pm
by i2Paq
I believe that shared SSL is NOT supported atm.