osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How to configure SSL?

This is a discussion on How to configure SSL? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hello, I have looked over the docs both wiki and osc guide and I have not seen any clear guidlines ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-14-2004, 02:17 PM
New Member
 
Join Date: Aug 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
brucek
Default How to configure SSL?

Hello,
I have looked over the docs both wiki and osc guide and I have not seen any clear guidlines for enabling SSL on my store. In looking over related posts on this forum I have found a few items such as setting configure.php(both) to SSL enable, true. But many of the posts, although informative, don't tell me what the basic structure is.
Can someone point me to where the documentation on this is or help me with what statements need to be added or modified so that all parts of my store work after I enable SSL.
Thank you to anyone that can help!

Here is what my configure.php file looks like in the catalog dir( I've called it oscommerce )

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://mydomain.com');
define('HTTPS_SERVER', 'https://mydomain.com');
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/osCommerce/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'username');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'databasename');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-16-2004, 05:09 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,694
Thanks: 2
Thanked 96 Times in 82 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

If you don't quite understand the configure.php files - you can ALWAYS re-run the install (but DON'T import the DB).

Note there are TWO configure.php - and both have to be changed.

SSL is setup soo many ways - it all depands on HOW you are accessing your secure pages.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-20-2004, 01:37 PM
New Member
 
Join Date: Aug 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
brucek
Default

Thanks for the info.....I think you are right.......I will give that a shot Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-31-2004, 01:30 PM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default

This worked great for me! jpf is right on.

I only wish there was some way for you to use a temporary IP while you're developing (for an established business who wants to work on their new OSCommerce store right up and through the domain switchover).

As it is, putting in the actual domain makes everything go screwy. I had to change it back to the temporary IP while we put the finishing touches on the product listings. If anybody's got a way to do this, I'd appreciate hearing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Configure.php??? ltldoc osCommerce 2.2 Installation Help 1 03-20-2006 08:58 PM
Help configure SSL paulchow2k osCommerce 2.2 Modification Help 2 10-18-2004 07:06 PM
Configure.php problems h4ppy_girl osCommerce 2.2 Installation Help 1 10-14-2004 03:48 AM
includes/configure.php is different glennn osCommerce 2.2 Installation Help 1 08-18-2003 10:36 PM
Configure.php and SSL judoka osCommerce 2.2 Modification Help 1 05-29-2003 09:14 PM


All times are GMT -8. The time now is 06:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax