fgwhite Posted December 1, 2003 Posted December 1, 2003 Help! I loosing sales (and patience). I have worked configure.php over and over but can't get the $!@# padlock to show. The page comes up with https:. I read somewhere that absolute images might be the culprit. It appear that all my images are relative. I'd apprecite someone looking over my configure file (below) to see if something's out of whack. define('HTTP_SERVER', 'http://whitecapcomputer.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.whitecapcomputer.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'whitecapcomputer.com'); define('HTTPS_COOKIE_DOMAIN', 'whitecapcomputer.com'); define('HTTP_COOKIE_PATH', '/oscommerce-2.2ms2/catalog/'); define('HTTPS_COOKIE_PATH', '/oscommerce-2.2ms2/catalog/'); define('DIR_WS_HTTP_CATALOG', '/oscommerce-2.2ms2/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/oscommerce-2.2ms2/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/'); Thanks! Frank Ever wish people could recover from a "fatal error?"
Guest Posted December 2, 2003 Posted December 2, 2003 Hi Frank. It looks like your configs don?t match your SSL certificate. When I went to your site (www.whitecapcomputer.com), I looked at your SSL certificate. Your certificate says that it is for www.whitecapsolutions.com, not whitecapcomputer.com. I then noticed, when clicking "my account", that the domain name flipped to https://whitecapsolutions.com, which isn?t exactly matching www.whitecapsolutions.com nor the www.whitecapcomputer.com listed in your configs. Looks like your domain names are tangled. Given that your certificate is issued for www.whitcapsolutions.com, I would suggest you explore changing your configs to match that. IHTH -Bill
Guest Posted December 3, 2003 Posted December 3, 2003 :) Is there any way to secure the admin with ssl? I have installed the cert and I tried browsing from https:. but it does not stick. When I click tools, catalog, configuration, etc. it goes back to http.
Guest Posted December 3, 2003 Posted December 3, 2003 Sunnyboy, have you set SSL to TRUE in admin/includes/configure.php ?
fgwhite Posted December 21, 2003 Author Posted December 21, 2003 Since I own my SSL cert does this mean that my cart needs to be under the same domain as the cert? Whitecapcomputer.com is a virtual domain under whitecapsolutions.com and they both are on the same server. I prefer to use the cart under whitecapcomputer.com. I have changed configure.php as shown below: ? define('HTTP_SERVER', 'http://whitecapcomputer.com'); // eg, http://localhost - should not be empty for productive servers ? define('HTTPS_SERVER', 'https://www.whitecapsolutions.com/whitecapcomputer'); // eg, https://localhost - should not be empty for productive servers ? define('ENABLE_SSL', true); // secure webserver for checkout procedure? ? define('HTTP_COOKIE_DOMAIN', 'whitecapcomputer.com'); ? define('HTTPS_COOKIE_DOMAIN', 'www.whitecapsolutions.com/whitecapcomputer'); ? define('HTTP_COOKIE_PATH', '/catalog/'); ? define('HTTPS_COOKIE_PATH', '/catalog/'); ? define('DIR_WS_HTTP_CATALOG', '/catalog/'); ? define('DIR_WS_HTTPS_CATALOG', '/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/'); When I refresh a SSL page I see the padlock briefly and it disappears. Thanks! Frank Ever wish people could recover from a "fatal error?"
fgwhite Posted December 30, 2003 Author Posted December 30, 2003 No. Linux Redhat Thanks! Frank Ever wish people could recover from a "fatal error?"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.