david Posted July 1, 2003 Posted July 1, 2003 Hello everyone I am using an older version of 2.2 (pre the new checkout procedure) and would like some advice how one sets up SSL on just the checkout page. eg. when some one clicks on checkout they are taken to https:// I have my certificate installed and can enter https:// manually, but like I say, I wanna know what files/links etc? to change to have SSL on just the checkout pages and maybe for the admin too. Thanks David :?:
Guest Posted July 1, 2003 Posted July 1, 2003 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 ssl url.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? HTH The_Bear
david Posted July 1, 2003 Author Posted July 1, 2003 thx Bear. I actually did those changes to config files already...but i still get taken to http:// and not https:// when click on checkout? any other clues? thx again david
networkdad Posted July 1, 2003 Posted July 1, 2003 thx Bear. I actually did those changes to config files already...but i still get taken to http:// and not https:// when click on checkout? any other clues? thx again david Does your server require SSL pages to be loaded from a specific directory ? Some servers, such as plesk, by default will have: httpdocs AND httpSdocs On mine though, everything is served from /public_html Check with your hosting provider...they can tell you for sure.
Chad Posted July 1, 2003 Posted July 1, 2003 do you mean only enabling ssl for checkout only and not login / my account page? I was wondering the same thing if thats what your asking about. Always seemed like a hassel to have to click through the secure server a few times to navigate the site. I'm sure its possible, I think I've seen a site setup like that.
david Posted July 1, 2003 Author Posted July 1, 2003 Maybe i need to rephrase... 1. apart from making the changes to the 2 config file (alreday done) what other files do i need to change/edit? 2. and what do i need to do with these files? are they duplicates that need to be placed in specific (ssl) folders? I have done a bunch of searches but no joy. Is there a step by step for ssl anywhere that i have missed. thanks everyone David
Harald Ponce de Leon Posted July 1, 2003 Posted July 1, 2003 There is an ENABLE_SSL parameter that needs to be set to true too :D (in addition to setting the HTTPS_SERVER parameter) , osCommerce
david Posted July 2, 2003 Author Posted July 2, 2003 Hello harald yes i had previously alreday changed to true in both config files. Still i can only get https:// if i add it manually. if i mouse over checkout or click on it - it is still http:// :?:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.