Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting up SSL on exsixting server


Guest

Recommended Posts

Posted

I have ssl from my host, is is active, just dont know how to set this up being its not a new install.

 

Can anyone help out with this, I would be greatful.

 

Thanx

Posted

You need to go into your catalog/includes/configure.php (also admin) and update the https with your secure url and enable SSL. It should look similar to this

 

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'host73.ipowerweb.com/~mrsfield');

define('HTTP_COOKIE_PATH', 'www.mrsfieldsgoodies.com/');

define('HTTPS_COOKIE_PATH', 'host73.ipowerweb.com/~mrsfield/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

Archived

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

×
×
  • Create New...