golpemortal Posted August 22, 2006 Share Posted August 22, 2006 I installed the osc without ssl now I got a ssl for a different domain.... for example https://www.example.com how can I share that ssl with osc in my site... I'm hosting both on my server... now, what changes do I have to make on my osc to be ssl ready? what files to change and how to do it... I'm lost without this community... love you all :blush: Link to comment Share on other sites More sharing options...
jasonabc Posted August 22, 2006 Share Posted August 22, 2006 http://www.oscommerce.com/forums/index.php?showtopic=151162 Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
jpweber Posted August 22, 2006 Share Posted August 22, 2006 You need to go to catalog/includes/configure.php. Around line 13 or so, find: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.yoursite.com'); define('HTTPS_SERVER', 'https://www.yoursite.com'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.yoursite.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.yoursite.com'); Make all of those changes, and the main thing is set "Enable SSL" to "true". Then upload catalog/includes/configure.php to the appropriate folder using your FTP tool. Also, make sure that if your SSL was instaled either on http://yourdomain.com or http://www.yourdomain.com, and adjust your configure.php file accordingly to include the "www" or not. It appears in your case, you have the "www". Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.