Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

post OSC installation SSL configuration?


Guest

Recommended Posts

How do I configure SSL (hosting co provided links to shared SSL today only) after having done quite a lot of work on OSC?

Ok, Maybe what I learned today can help. I was having this same problem but then figured it out.

 

you want to edit this...

catalog/includes/configure.php

 

find this and configure it to suit your needs.

  
define('HTTP_SERVER', 'http://www.yoursite.com'); 
 define('HTTPS_SERVER', 'https://sharedSSL.yoursite.com/'); 
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.yoursite.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://sharedSSL.yoursite.com/');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');

 

This worked for me, maybe it will help you. Questions? Ask, I might be able to answer.

 

Peace!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...