How to activate SSL in justhost osCommerce?
Posted By CheapHostingChoice
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.
Related posts:
- How to reset password for JustHost osCommerce?
- JustHost cPanel – control panel
- JustHost SSL Certificate for your online store
Comments
Post a Comment