dubie Posted December 13, 2003 Share Posted December 13, 2003 What directory needs to be SSL for checkout time? Which physical directory needs to go into the SSL folder. And an example of the syntax in the configure.php file would be helpful. :) Thanks! Link to comment Share on other sites More sharing options...
chfields Posted December 13, 2003 Share Posted December 13, 2003 You don't need to put any files in special folders, all you need to do is set the correct path for the SSL as shown below catalog/includes/configure.php define('HTTP_SERVER', 'http://www.mrsfieldsgoodies.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://host73.ipowerweb.com/~mrsfield'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mrsfieldsgoodies.com'); define('HTTPS_COOKIE_DOMAIN', 'host73.ipowerweb.com/~mrsfield'); define('HTTP_COOKIE_PATH', 'www.mrsfieldsgoodies.com/'); define('HTTPS_COOKIE_PATH', 'host73.ipowerweb.com/~mrsfield/'); catalog/admin/includes/configure.php define('HTTP_SERVER', 'http://www.mrsfieldsgoodies.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mrsfieldsgoodies.com'); define('HTTPS_CATALOG_SERVER', 'https://host73.ipowerweb.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/mrsfield/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/mrsfield/public_html/admin/'); // absolute pate required Link to comment Share on other sites More sharing options...
dubie Posted December 13, 2003 Author Share Posted December 13, 2003 My host provider has for me an httpdocs directory and also a httpsdocs directory. https://mydomain.com go to the httpsdocs directory httpdocs is non ssl that is why I am confused. Link to comment Share on other sites More sharing options...
TerryK Posted December 13, 2003 Share Posted December 13, 2003 My host set up what they called a "symlink" so that the URLs work under both the secure and non-secure server. With that in place, I didn't have to copy any files to my /SSL directory -- they all work from the /catalog directory. (And it also takes away the error messages that appear when secure and non-secure items are shown on the same page.) I'm not a techie, so I have no idea how to do this, but I would think that your provider would recognize the terminology -- whether they'll be willing to do it or not is another story. :) HTH, TerryK Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
chfields Posted December 13, 2003 Share Posted December 13, 2003 You should just be able to put your secure url in the config files and it will take care of it automatically. Have you tried this yet? Link to comment Share on other sites More sharing options...
dubie Posted December 13, 2003 Author Share Posted December 13, 2003 Well, I just found out in order for my ssl to work I have to have a static ip from my hosting provider which they are hooking up. What I do know if I do anything https it goes to the httpsdocs directory not my main doc root. Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2003 Share Posted December 14, 2003 wow, a host who 'floats ip address' what a way to not find a web site! are you provided a shared SSL certificate or do you have to buy it? Link to comment Share on other sites More sharing options...
dubie Posted December 14, 2003 Author Share Posted December 14, 2003 I bought it from freessl. It may be different when I have a dedicated IP hosting. I will know as soon as its finished being switched over. :( Link to comment Share on other sites More sharing options...
dubie Posted December 14, 2003 Author Share Posted December 14, 2003 I have 2 directories to put my html. httpdocs and httpsdocs they are seperate directories. With that in mind how can I set up my cart to adjust for this? What directory needs to be in https for checkout? Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2003 Share Posted December 14, 2003 The simplest way is to put all the files in both directories (if your host won't make a symlink nor retarget the virtual directory). index.php needs to be in both. Most of the includes directory tree needs to be in both. images/ needs to be in both. login.php, the account files, and the checkout_ files need to be in SSL. It is generally best to put the entire admin directory in SSL. Hth, Matt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.