Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Yahoo and SSL!


Guest

Recommended Posts

First of all, for those of you who use Yahoo, don't even try calling tech support for help. They wouldn't even tell me how to set up ssl because they don't want anyone using a shopping cart. They wan't you to pay more to use their Merchant Account. (I will be leaving Yahoo eventually).

 

Anyway, after a lot of frustration and hours spent, I figured out how to do it.

 

1. Create a directory named 'ssl' (must be in lowecase)

2. Copy your catalog folder into this directory.

(from now on, when you edit files, you will have to do it in both your root/catalog and root/ssl/catalog)

3. Edt the catalog/includes/configure.php (and ssl/catalog/includes/configure.php)

 

 

define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/'); // 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', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/');

 

4. Edit the catalog/admin/includes/configure.php (and ssl/catalog/admin/includes/configure.php)

 

define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com');

define('HTTPS_CATALOG_SERVER', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/ssl/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/ssl/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/catalog/'); // absolute path required

 

 

 

Hope this helps anyone who is as frustrated as I was! :)

 

P.S. Don't forget to set your permissions (CHMOD)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...