How to activate SSL in justhost osCommerce?

Posted By

Professional Hosting from Just Host

In order to configure justhost osCommerce to work with SSL, you have to open the file public_html/catalog/includes/configure.php and make the following changes:

define(‘HTTP_SERVER’, ‘http://www.yourdomain.com’); // eg, http://localhost – should not be empty for productive servers
define(‘HTTPS_SERVER’, ‘https://yourdomain.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.yourdomain.com’);
define(‘HTTPS_COOKIE_DOMAIN’, ‘yourdomain.com’);
define(‘HTTP_COOKIE_PATH’, ‘/catalog/’);
define(‘HTTPS_COOKIE_PATH’, ‘/catalog/’);
define(‘DIR_WS_HTTP_CATALOG’, ‘/catalog/’);
define(‘DIR_WS_HTTPS_CATALOG’, ‘/catalog/’);

Similar to the above changes have to be made in the file of public_html/catalog/admin/includes/configure.php which is responsible for the admin area configurations.

In the above example, justhost is configuring an osCommerce installation in the catalog directory with domain of yourdomain.com. Please adjust the above settings to details of your own website.

Go to: www.justhost.com
find out more cheap hosting plans

© 2009, CheapHostingChoice. If You Wish To Publish/Reprint The Post Written By CheapHostingChoice, You Must: Provide The Post URL; And Keep All Links Active.

Share

Related posts:

  1. How to reset password for JustHost osCommerce?
  2. JustHost cPanel – control panel
  3. JustHost SSL Certificate for your online store

About The Author

We belong to the team of CheapHostingChoice.com. We are monitoring any changes of cheap hosting providers' price, customer support, technology, hosting package, promotion, and customer-feedback. We are your partner for selecting the best deal of cheap hosting services.

Comments

Post a Comment