Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with SSL config


nromain

Recommended Posts

Hi There!

 

Have been trying for 2 weeks now to have SSL in my site North American Tuning. My steps were:

 

1. Buy SSL PRO certificate from www.instantssl.com

2. Install in HSphere per HSphere and Comodo's instructions

3. Enable SSL in my store per HSphere's instructions by changing the code in CONFIGURE.PHP file

 

After doing all of this, my problem is that my store does not automatically switch to https when it is supposed to. My catalog/includes/configure.php file follows. Can you please tell me how to fix this? Thanks a lot.

 

define('HTTP_SERVER', 'http://www.northamericantuning.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://northamericantuning.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.northamericantuning.com');

define('HTTPS_COOKIE_DOMAIN', 'northamericantuning.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Nick G. Romain

Link to comment
Share on other sites

  • 1 year later...

very nicely put together store. everything flows together really nicely.

 

was wondering if you could be a pal and let me no as to how you were able to install the comodo trust logo at the bottom right of the page like that....

any help is greatly appreciated...thank you

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...