Guest Posted January 29, 2005 Share Posted January 29, 2005 Self issued SSL cert installed and confirmed working. I installed oSC to use SSL from the dropdown menu and confirmed the site's name in the next box. Clicking install only sets up to use http:// and not https:// as I need. I can type https:// manually in the address bar and this works but then clicking a link in the shopping cart gives http:// pages! How do I configure the shopping cart to use https:// totally? I can find loads of questions on this subject, but can't find a solution. Can someboby tell me? Cheers Link to comment Share on other sites More sharing options...
ynchan Posted January 29, 2005 Share Posted January 29, 2005 go to your /includes/configure.php file and enable SSL: define('ENABLE_SSL', true); // secure webserver for checkout procedure? Also remember to edit all the other HTTPS related parameters in configure.php Link to comment Share on other sites More sharing options...
Guest Posted January 29, 2005 Share Posted January 29, 2005 go to your /includes/configure.php file and enable SSL: define('ENABLE_SSL', true); // secure webserver for checkout procedure? Also remember to edit all the other HTTPS related parameters in configure.php <{POST_SNAPBACK}> Thanks. Got it. All fixed and ready to go! Link to comment Share on other sites More sharing options...
♥Vger Posted January 29, 2005 Share Posted January 29, 2005 For future reference - when you run the install of osCommerce there's a small tick box for SSL - tick this and the install will configure for ssl use. Vger Link to comment Share on other sites More sharing options...
cjohnson_uk Posted February 25, 2005 Share Posted February 25, 2005 For future reference - when you run the install of osCommerce there's a small tick box for SSL - tick this and the install will configure for ssl use. Vger <{POST_SNAPBACK}> Vger I didn't have ssl set up when I installed OSC but now do have SSL installed. Do I just need to edit the configure.php files in includes and admin includes? My host has separate folders for http and https which files need to be in which directories? I would like not to have to start from scratch as I've spent some time getting it to the sate its already in. I've scoured the forums and checked posts and replies from others with similar problems but I've come to an impass. Any pointers appreciated. Link to comment Share on other sites More sharing options...
♥Vger Posted February 25, 2005 Share Posted February 25, 2005 Hi, If your hosting company uses one of those stupid and completely unnecessary two-folder systems then you are going to have to duplicate the files you have in httpdocs in httpsdocs - and every time you make a change to anything in httpdocs you will also have to copy it to httpsdocs. To configure your site to use SSL you will have to edit your includes/configure.php file and your admin/includes/configure.php file. You'll need to enable ssl in both of them, and set up your https pathways, cookie domain and cookie pathways. If you are using a shared ssl then leave the cookie domain for https blank, also the cookie pathway for https. Vger Link to comment Share on other sites More sharing options...
cjohnson_uk Posted February 27, 2005 Share Posted February 27, 2005 Hi, If your hosting company uses one of those stupid and completely unnecessary two-folder systems then you are going to have to duplicate the files you have in httpdocs in httpsdocs - and every time you make a change to anything in httpdocs you will also have to copy it to httpsdocs. To configure your site to use SSL you will have to edit your includes/configure.php file and your admin/includes/configure.php file. You'll need to enable ssl in both of them, and set up your https pathways, cookie domain and cookie pathways. If you are using a shared ssl then leave the cookie domain for https blank, also the cookie pathway for https. Vger <{POST_SNAPBACK}> Thanks for this info. I spoke to the ISP and they've created a link called httpsdocs that links to httpdocs so I've now got just one folder for both http and https. All the previous posts about where to put files make sense now, I wasn't aware that other ISPs didn't do the two folder system! However in trying to get the two folder system to work I've now got other problems such as page not found and the checkout process getting stuck at delivery. see my other threads! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.