Spaceman-Spiff Posted December 8, 2003 Posted December 8, 2003 hi, i'm trying to figure out how to add SSL to the shopping cart or checkout page i noticed that the option is already available, inside /includes/header.php, theres a piece of code that says: <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> but I can't find anywhere to define the SSL url do i need to edit the FILENAME_CHECKOUT_SHIPPING value to the ssl url manually? btw, we're using a subdomain ssl. the store is in www.domain.com/store and the SSL is in secure.domain.com
inetchoices Posted December 8, 2003 Posted December 8, 2003 You would configure your SSL in /catalog/includes/configure.php This is the file that contains all of the information regarding your database and cookies. I used Shared SSL. I know how to configure for my provider, but I'm a little lost on how to explain how to configure for your provider. define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive serversdefine('HTTPS_SERVER', 'https://secure.domain.com/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', 'secure.domain.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/yourdomain.com'); I think that should do it. Just plug your info into those spots in configure.php and you are set. You can also use this same approach at setting up SSL for your /store/admin/includes/configure.php file. hth, Khim~ Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup :-)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.