bubbaman Posted May 28, 2004 Posted May 28, 2004 Tech support at my web host sent me this message: We have configured ssl certificate for your site and you can access it from :: https://shop.onescrappysite.com I can access the site on http://shop.onescrappysite.com, but when I click 'Your Account' or 'Checkout', I receive a 404 error. Here is my config.php in case I've entered something wrong in here. define('HTTP_SERVER', 'http://shop.onescrappysite.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://shop.onescrappysite.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'shop.onescrappysite.com'); define('HTTPS_COOKIE_DOMAIN', 'shop.onescrappysite.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . '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', '/home/xxxxxx/public_html/shop/'); 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 empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'xxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Any suggestions would be greatly appreciated! Thanks!
vasttech Posted May 28, 2004 Posted May 28, 2004 The true in the following line needs to be in quotes 'true' define('ENABLE_SSL', true); // secure webserver for checkout procedure? osCommerce Knowledge Base osCommerce Documentation Contributions
bubbaman Posted May 28, 2004 Author Posted May 28, 2004 Thanks, I fixed that. I'm still getting the 404 errors, but I'm sure this helped me to avoid other problems.
vasttech Posted May 28, 2004 Posted May 28, 2004 Okay something is really weird here. If you go to https://shop.onescrappysite.com you get a totally different site then yours. You should get the same site. Looks like a server or certificate configuration issue to me. osCommerce Knowledge Base osCommerce Documentation Contributions
bubbaman Posted May 28, 2004 Author Posted May 28, 2004 I have a message into the tech support that hosts my site. When you go to https://shop.onescrappysite.com it goes to https://www.onescrappysite.com Definitely bad.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.