racelance Posted March 6, 2003 Share Posted March 6, 2003 Hi all~ Okay, I'm to the point where I need to make my OScommerce site secure! But I've run into some problems: I'd like my checkout area for my cart to become secure (pictures & pages for obvious reasons). I'm new to this area... So if my shopping cart is www.domain.com/shop it would become: https://secure9.dnsrouter.com/~username/shop (this is what my host tells me). So I entered this information into my configure.php file as you will see below. But after making the above changes to the config.php file once I get to the credit card area it automatically shuts down on me so there's no page at all to be viewed. *yet when I look at the url it's exactly what the secure address should be - any help would be greatly appreciated! Hopefully this makes more sense - if not I'll try to elaborate more when you ask... Thanks again for your help! Lance Here's the code: <?php /* $Id: configure.php,v 1.12 2002/06/16 22:11:53 harley_vb Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://hitechcoat.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://secure9.dnsrouter.com/~hitech'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/shop/'); // absolute path required 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'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'hitechco_shop'); define('DB_SERVER_PASSWORD', 'hitech'); define('DB_DATABASE', 'hitechco_shop'); define('USE_PCONNECT', true); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
racelance Posted March 6, 2003 Author Share Posted March 6, 2003 I figured it out - I wrote the incorrect information - worked like a charm! I've been looking at this code way toooooo long... ;-) Lance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.