My
Ideal
Host
We do more than just host websites
Customer login
HOME
WEB
HOSTING
RESELLER HOSTING
CUSTOMER SUPPORT
TUTORIALS
COMPANY
View source
for
How to configure OsCommerce with SSL
<div align=justify>Ecommerce is getting more and more popular nowadays. However, several factors need to be considered before starting online business. So, to start a eCommerce site you'll need the following: '''''1.''''' Shopping cart, which is used to display your products. '''''2.''''' A merchant account. This tool is needed to accept payments using credit card '''''3.''''' Secure servers (SSL cert) for accepting credit card payment or other personal payment information online As far as SSL certificates are concerned, there are two options: * Use shared SSL certificate. It is already installed on the server and can be accessed at http://hostname/~username. * Purchase a dedicated SSL certificate. After purchasing it will need to be installed for your account on the server. Installing eCommerce software is now a piece of cake as it can be done within just several clicks from your cPanel => Fantastico. There are several oprions there: * OsCommerce * CubeCart * Zen Cart 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: define('HTTP_SERVER', 'http://www.yourdomain.com'); // e.g., http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://yourdomain.com'); // e.g., 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/'); 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>
Return to
How to configure OsCommerce with SSL
.
Navigation
Hosting Issues
Cloud Hosting
Billing Issues
FAQ
Articles
News
Interesting from the web
Search
Subscribe to our newsletters