Guest Posted July 29, 2004 Posted July 29, 2004 I know there have been many postings on this problem and seems like the fix is different for different people, so maybe someone can help me. I have been searching around and have found all kinds of solutions that have worked for other people but none of them have worked for me. My domain is http://countrybearstamps.com .According to my web host my secure domain should be https://secure.ecommerce-order4.com/~countrybearstamps.com/ . I have configured both configure.php files this way and still get page cannot be found errors when going to the checkout, create account and login screens. The url it shows it is going to looks like it is correct to me. As of now the configure.php code is as follows: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.countrybearstamps.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.ecommerce-order4.com/~countrybearstamps.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'countrybearstamps.com'); define('HTTPS_COOKIE_DOMAIN', 'countrybearstamps.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/oscommerce/'); define('DIR_WS_HTTPS_CATALOG', '/oscommerce/'); 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/virtual/site240/fst/var/www/html/oscommerce/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Also I do have a .htaccess file with a 301 redirect from http://countrybearstamps.com to http://countrybearstamps.com/oscommerce/ where the home page resides. I am not sure if this has any affect on it at all. If any other info is needed, let me know. Any help with this would be greatly appreciated!! Trucker_Clock
ageiselhart Posted July 29, 2004 Posted July 29, 2004 Hi, had similar the same problem with SSL.. Do you are sure about free ports on the ISP side ?? got also an Errormessage in another module. the solution was a closed port for https. good luck Armin
noelc Posted July 29, 2004 Posted July 29, 2004 https://secure.ecommerce-order4.com/~countrybearstamps.com/ should take you to your website through a secure connection the address above does not resolve to a website so must be incorrect and this would be why your shop is not working on SSL
Guest Posted July 29, 2004 Posted July 29, 2004 When I asked they said the url I listed was all that was needed. Trucker_Clock
Guest Posted October 31, 2004 Posted October 31, 2004 try this...leave https_cookie_domain blank... define('HTTPS_COOKIE_DOMAIN', ''); it worked for me in a similar situation on a shared server with ssl...
Panic36 Posted October 31, 2004 Posted October 31, 2004 define('HTTPS_COOKIE_DOMAIN', 'countrybearstamps.com'); shouldn't it be define('HTTPS_COOKIE_DOMAIN', 'secure.ecommerce-order4.com/~countrybearstamps.com'); aren't the http's and the https's suppose to match, but only put the http:// and https:// http_server and https_server? I could be wrong... edit: Man I could be way off on this but... shouldn't it also be define('HTTP_COOKIE_PATH', '/oscommerce/'); define('HTTPS_COOKIE_PATH', '/oscommerce/');
ozcsys Posted October 31, 2004 Posted October 31, 2004 Well it looks like you got it working but your ebay link is causing a non-secure message on the secure pages so you still need to fix that. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Guest Posted October 31, 2004 Posted October 31, 2004 Well it looks like you got it working but your ebay link is causing a non-secure message on the secure pages so you still need to fix that. <{POST_SNAPBACK}> Hi all - mr Thicko here... basically we've implemented oscommerce off the back of our full SSL enabled web site (currently paypal only) but we havent released it yet as were having this ssl issue, we have our own Full SSL (Comodo) for www.silkyandspice.com (note www.silkyandspice.com NOT http://www.silkyandspice.com) we have a front page (index.html) that is on the normal web (http://) which foreces to https://www.silkysandspice.com/welcome.html - every page in our web site has a java check at the top that makes sure the calling protocol of the page is https:// and if not forces it as such. when we bought the SSL cert. our hosting company (compila.com) said we didnt need to upload to any where different (our question is here how do we stop someone just typing http://www.silkyandspice.com... instead of them being in the https (i.e. they could bypass the ssl bit) our oscommerce install is in /oscart and if u type www.silkyandspice.com/oscart u get the oscart site (not quite finished) but its not secure.. but if u type https://www.silkyandspice.com/oscart u get all sorts of SSL errors and the ie session hangs.. I've configured oscart/includes/configure.php and oscart/admin/includes/configure.php but still same errors and frankly our support from the hosting company re:ssl requires alot of patience as u get no-where fast any help whatsoever would be a blessing - please see cut outs from the related files below : oscart/incudes/configure.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 © 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://silkyandspice.com'); define('HTTPS_SERVER', 'https://silkyandspice.com'); //define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://silkyandspice.com'); define('HTTPS_COOKIE_DOMAIN', 'https://silkyandspice.com'); //define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/oscart/'); define('DIR_WS_HTTPS_CATALOG', '/oscart/'); define('DIR_WS_IMAGES', '/oscart/images/'); define('DIR_WS_ICONS', '/oscart/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', '*****'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); ------------------------------------------ oscart/admin/includes/configure.php ------------------------------------------ <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://silkyandspice.com'); define('HTTP_CATALOG_SERVER', 'http://silkyandspice.com'); define('HTTPS_CATALOG_SERVER', 'https://silkyandspice.com'); // define('HTTP_CATALOG_SERVER', ''); //define('HTTPS_CATALOG_SERVER', ''); // define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module 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_WS_ADMIN', '/oscart/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/oscart/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', '*****'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> once again - any help most appreciated - we're desparate to get this working now! Mark [email protected]
Guest Posted October 31, 2004 Posted October 31, 2004 BUGGER Mark again - just noticed that in my previous post I spelled www.silkyandspice.com wrong in some of the links... it is www. S I L K Y A N D S P I C E.com
Guest Posted October 31, 2004 Posted October 31, 2004 if you ran things thru oscommerce AND NOT HTML oscommerce handles the SSL just fine. since you are putting them back to html you will have to set that portion on your own. too many people try it the hard way. if you want a store that is html (not dynamic) well . . .
Guest Posted October 31, 2004 Posted October 31, 2004 if you ran things thru oscommerce AND NOT HTML oscommerce handles the SSL just fine. since you are putting them back to html you will have to set that portion on your own.too many people try it the hard way. if you want a store that is html (not dynamic) well . . . <{POST_SNAPBACK}> Sorry??? If I ran things thu oscommerce AND NOT HTML - perhaps I'm thicker than I though cos that makes 'no sense' at all? how do u run it thru oscommerce and not HTML - and what does 'if u want a store that is html (not dynamic) well... I appreciate you help but dont follow your joke?
Guest Posted October 31, 2004 Posted October 31, 2004 Sorry??? If I ran things thu oscommerce AND NOT HTML - perhaps I'm thicker than I though cos that makes 'no sense' at all? how do u run it thru oscommerce and not HTML - and what does 'if u want a store that is html (not dynamic) well... I appreciate you help but dont follow your joke? <{POST_SNAPBACK}> I've actually now sorted the oscommerce not working thru SSL (the configure.php files were showing http://silkyandspice.com (i.e there was NO www. before the silkyandspice.com - so the certificate did not match the domain.. however - when I ran the site whcih then worked ok, and click on a product in the search it returned the pages back as http://www.silkyandspice.com/... i.e. NOT httpS:// I simply changed any reference to http://www.silky... to httpS://www.silky.. and it seems to be ok.. I 'think' your mild-sarcasm before about running oscommerce not thru SSL was that u dont need to run the admin as SSL (presumably?)
♥Vger Posted October 31, 2004 Posted October 31, 2004 define('HTTP_COOKIE_DOMAIN', 'http://silkyandspice.com'); define('HTTPS_COOKIE_DOMAIN', 'https://silkyandspice.com'); should be define('HTTP_COOKIE_DOMAIN', 'www.silkyandspice.com'); define('HTTPS_COOKIE_DOMAIN', 'www.silkyandspice.com'); Vger
♥Vger Posted October 31, 2004 Posted October 31, 2004 I 'think' your mild-sarcasm before about running oscommerce not thru SSL was that u dont need to run the admin as SSL No, Mibble was pointing out that you are making things difficult for yourself. osCommerce by default decides which parts of your storefront should run under ssl e.g. login, customer account area etc. As for the 'admin' area, yes it should run under ssl, and it should be a protected folder. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.