slas7713 Posted December 4, 2005 Posted December 4, 2005 I'm implementing my first ecommerce site and have made it this far, not without the usual pain. I've implemented SSL with a certificate from godaddy and can checkout successfully from within the LAN but not outside (I get the "page cannot be displayed"). I'm almost positive it's in the configuration of the configuration.php file but I've played around with it and no successs. Questions: 1) I purchased a certificate for the ecommcerce site www.teeznu.com but I host the site on my web server at www.lswebsolutions.com defined in apache as the servername also. When I got in secure mode I got the message that the certificate does not match the site it was purchased for. I'm guessing this is a beginners mistake and I should have purchased the certificate for my server name(www.lswebsolutions.com) and not the virtual hosted server (www.teeznu.com) ?? Since it was my first shot I was thinking apache would be able to discern the difference, or is there an apache directive I'm missing? 2) Since I can get to the SSL mode inside the LAN but not from outside, do you see issues with this configuration.php file?? define('HTTP_SERVER', 'http://www.teeznu.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.teeznu.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.teeznu.com'); define('HTTPS_COOKIE_DOMAIN', 'www.teeznu.com'); define('HTTP_COOKIE_PATH', '/tznu/'); //sites root directory define('HTTPS_COOKIE_PATH', '/tznu/'); //sites root directory define('DIR_WS_HTTP_CATALOG', '/tzcat/'); //catalog directory at /tznu/catalog/ (path defined in apache) define('DIR_WS_HTTPS_CATALOG', '/tzcat/'); //catalog directory seperate from /tznu/admin/ 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', '/tznu/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '192.168.0.2'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'someuser'); define('DB_SERVER_PASSWORD', 'somepassword'); define('DB_DATABASE', 'tznu'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' All help is greatly appreciated. Steve L
Recommended Posts
Archived
This topic is now archived and is closed to further replies.