ffberryb77 Posted March 3, 2004 Share Posted March 3, 2004 <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 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://fireflash.org.uk'); define('HTTPS_SERVER', 'https://fireflash.org.uk'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://fireflash.org.uk'); define('HTTPS_COOKIE_DOMAIN', 'https://fireflash.org.uk'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/oscommerce/'); define('DIR_WS_HTTPS_CATALOG', '/oscommerce/'); define('DIR_WS_IMAGES', '/oscommerce/images/'); define('DIR_WS_ICONS', '/oscommerce/icons/'); define('DIR_WS_INCLUDES', 'includes/'); 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', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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', ); define('DB_SERVER_PASSWORD', ); define('DB_DATABASE', 'fireflas_osc2'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); ?> Which part of the above do i change to enable SSL for account login and actual orders. I dont want SSL to activate for normal browsing, as my web space provider will tan my arse!!! If anyone can help, I would be most appreciative as I have already destroyed several databases so far! Link to comment Share on other sites More sharing options...
ffberryb77 Posted March 3, 2004 Author Share Posted March 3, 2004 Forgot to mention - this information is from my web space provider: To access any page on your web site securely using SSL just replace the "http://www.fireflash.org.uk/" part of the page URL with "https://www.ultrasecure.biz/~fireflas/".'>https://www.ultrasecure.biz/~fireflas/". Please note: You must use either relative URLs or absolute URLs including the "https://www.ultrasecure.biz/~fireflas/" prefix from above on all links and image tags within any page you wish to access using SSL. The page should be uploaded to your normal web space as there is automatically a link between your web space and the virtual folder on our secure web server. Thanks in advance Link to comment Share on other sites More sharing options...
ffberryb77 Posted March 3, 2004 Author Share Posted March 3, 2004 OK - So now my store is secure where I want it to be, but now when SSL is activated, none of my pictures show up because the path is different. How do I tell the database to look for the pictures at http://www.fireflash.org.uk, but keep the rest of the page looking at https://www.ultrasecure.biz/~fireflas/ ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.