Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

After being told by a few people on this forum that I needed SSL for my site I went and purchased it from my web host but am having a few problems.


I have been told by my host that the SSL is already configured by them and that I need to do is set up a folder called something like secure, then place all my secure pages into that folder making sure it is only the secure ones and not the rest of the site that is placed into the secure folder.


Now, I am really confused as to which pages from oscommerce I need to put into this folder to make it secure?


I am using sts would like to konw if anyone could give me some help on this matter.

Link to comment
Share on other sites

  • 2 weeks later...

I have been in touch with my SSL hosting company and thye have been pretty helpful but not mentioned anything about map the secure directry to the public directory.


I have been playing around with SSL and reading up as much as I can about SSL and how to configure it for oscommerce and now I am stuck again and am in need of help! I think my hosting company are getting stuck as they have pointed me into the direction of these forums which I already knew about and has already been a massive help in the construction of my site.


Whats going wrong is this, I read the column below and made the changes from 'ENABLE_SSL', false to true. Now things seem to look OK on the site when I use firefox as when I go to login it takes me to https which I know is secure and seems to work fine. However, when I try and do exactly the same thing in internet explorer things go awry! When I go to account it says that there is a problem with this website security certificate and that the security certificate presented by this website was issued for a different websites address.


Can anyone tell me where I am going wrong as I need to get this sorted before I can push ahead with the site?


In order to configure OsCommerce to work with SSL please open the file public_html/catalog/includes/configure.php and make the following changes:


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

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('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/');

Link to comment
Share on other sites


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

  • Create New...