A. There are 2 different ways to secure your Netfirms Commerce Pro shopping cart site:
Option #1: Using A Dedicated SSL
1. Install and configure a dedicated SSL certificate using these instructions. 2. Once your SSL is installed, set the configuration path for https:// in both
../catalog/includes/configure.php and ../catalog/admin/includes/configure.php to enable SSL. To do this, set ../catalog/includes/configure.php to write permissions 3. In ../catalog/includes/configure.php and ../catalog/admin/includes/configure.php change the file as follows:
FROM:
define('HTTPS_SERVER', 'https://membername.sslpowered.com'); // eg,
https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTPS_COOKIE_DOMAIN', 'memername.com.sslpowered.com');
TO:
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('HTTPS_COOKIE_DOMAIN', 'yourdomain.com.sslpowered.com');
Option #2: Using Netfirms Shared SSL (free)
1. Set the configuration path for https:// in ../catalog/includes/configure.php to enable SSL. To do this, set ../catalog/includes/configure.php and ../catalog/admin/includes/configure.php to write permissions
2. In ../catalog/includes/configure.php and ../catalog/admin/includes/configure.php ensure the following lines are configured (where memname is your Netfirms membername indicated on your Netfirms Welcome Letter) so it includes the following lines:
define('HTTPS_SERVER', 'https://membername.sslpowered.com'); // eg,
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
efine('HTTPS_COOKIE_DOMAIN', 'membername.com.sslpowered.com');
NOTE: To secure your entire shopping cart site (not usually necessary). set your ../catalog/includes/configure.php and ../catalog/admin/includes/configure.php file as follows:
define('HTTP_SERVER', 'https://yourdomain.com');
OR
define('HTTP_SERVER', 'https://membername.sslpowered.com');
B. The following change should be made via Netfirms File Manager in the ../catalog/includes/application_top.php file:
FROM:
// set the type of request (secure or not)
$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';
TO:
// set the type of request (secure or not)
$request_type = (getenv('SERVER_PORT') == '443') ? 'SSL' : 'NONSSL';