m |
m |
||
Line 1: | Line 1: | ||
− | <div align=justify> | + | <seo title="SSL for OsCommerce" metakeywords="ssl not working, oscommerce ssl" metadescription="How to configure OsCommerce with SSL" /><div align=justify>For your online shop to function properly, SSL certificate is required. In order to configure osCommerce to work with SSL, you need to make sure it is alreay installed for your account, then open the file '''''public_html/catalog/includes/configure.php''''' and make the following changes:</div> |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
define('HTTP_SERVER', 'http://www.yourdomain.com'); // e.g., http://localhost - should not be empty for productive servers | define('HTTP_SERVER', 'http://www.yourdomain.com'); // e.g., http://localhost - should not be empty for productive servers | ||
Line 29: | Line 12: | ||
define('DIR_WS_HTTPS_CATALOG', '/catalog/'); | define('DIR_WS_HTTPS_CATALOG', '/catalog/'); | ||
− | Once done, open '''''public_html/catalog/admin/includes/configure.php''''' file, which is responsible for the admin area configurations, and do the same changes there. | + | <div align=justify>Once done, open '''''public_html/catalog/admin/includes/configure.php''''' file, which is responsible for the admin area configurations, and do the same changes there. |
'''''Note:''''' In this example we are configuring an osCommerce installation for yourdomain.com. Make sure to change it to your actual domain name.</div> | '''''Note:''''' In this example we are configuring an osCommerce installation for yourdomain.com. Make sure to change it to your actual domain name.</div> |