Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help needed with SSL linking!


thejudge

Recommended Posts

Hi

 

I have created the store but at the I didnt enable SSL as it wasnt purchased. Anyway, I now have a secure hosting address provided by www.secure-website.com. But how do I direct the relevent sections to this webspace?

 

Please help me and any help would be great.

 

Regards

 

Andy

 

A OSc newbie - OSC rules - If only if I can get the SSL to work! :roll:

Link to comment
Share on other sites

In both your admin and catalog/includes/configure.php

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

 define('HTTPS_SERVER', 'https://your secure adress.com'); // eg, https://localhost - should not be empty for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

HTH

The_Bear

Link to comment
Share on other sites

Cheers for the reply.

 

Code:

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

define('HTTPS_SERVER', 'https://your secure adress.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

 

Where in the code do u add it? U mentioned it should be in admin and catalog/includes/configure.php, so does theat mean it wants to be in

 

configure.php in admin and configure.php in catalog?

 

I guess I just have change the http://your domain.com' with 'http://www.internetreadypcs.co.uk' address? and https://secure-website.com' for my server and I should be away

 

Luck forward to the reply.

Link to comment
Share on other sites

You have to change in both files

admin/includes/configure.php

catalog/includes/configure.php

 

HTH

The_Bear

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...