Hello I need help with SSL. My host is 1and1 and this seems to be a common problem. When I go to the secured website the page isn't formatted correctly. Apparently there are some codes I need to input to make the shared certificate work.

I found this on the internet but now sure what to do with #2. Also, I've searched up to page 25 and can't find a solution on zencart. Someone please help.

SHARED SSL WITH 1AND1 HOSTING
*********************************************
1. Add below:
$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';
this
$request_type = (eregi ($HTTP_HOST, HTTPS_SERVER)) ? 'SSL' : 'NONSSL';
in
includes/application_top.php

2. The correct relative address html code for images using the dedicated ssl would be for example src="images/logo_background_default.gif" WITHOUT the '/' in the front. This is for either using your own html pages in the site or using the ever popular WYSIWYG HTML Editor which does not normally format the code in this way. Therefor you will need to manually change it.

3. In includes/configure.php adjust your configuration in the following way in the example below.

define('HTTPS_SERVER', 'https://web1.secure-secure.com/yoursitename.com'); // eg, https://localhost - should not be empty for productive servers
define('HTTP_COOKIE_DOMAIN', 'www.yoursitename.com');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');