Guest Posted August 24, 2005 Share Posted August 24, 2005 Can anyone help please... I am having trouble with my configuration in relation to the secure server. If I try to login or create an account when I first enter the site, I get a 404 error when the redirect happens. However, if I login or create an account at a later stage, for example when I have added a product to my basket, I get a successful redirect. site here Thank you Link to comment Share on other sites More sharing options...
♥Vger Posted August 24, 2005 Share Posted August 24, 2005 I don't see any problem there, except for items dropping from the basket. In your includes/configure.php on that server setup leave the https_cookie_domain blank and also leave the https_cookie_path blank. Vger Link to comment Share on other sites More sharing options...
Guest Posted August 24, 2005 Share Posted August 24, 2005 I don't see any problem there, except for items dropping from the basket. In your includes/configure.php on that server setup leave the https_cookie_domain blank and also leave the https_cookie_path blank. Vger <{POST_SNAPBACK}> Hello, I've done this but am still having the same problem. This is part of the code in my includes/configure.php page: define('HTTP_SERVER', 'http://www.dabble.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://spartan.xssl.net'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.dabble.co.uk'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/dabble.co.uk/catalog/'); Is there anything there that looks wrong? Any guidance would be appreciated. Thanks Link to comment Share on other sites More sharing options...
AlanR Posted August 24, 2005 Share Posted August 24, 2005 Set it like this and post back after you've done it define('HTTP_SERVER', 'http://www.dabble.co.uk'); define('HTTPS_SERVER', 'https://spartan.xssl.net/dabble.co.uk'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'dabble.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'spartan.xssl.net/dabble.co.uk'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
janice171 Posted August 25, 2005 Share Posted August 25, 2005 Hi, i too am having this problem. i can't access the login, checkout and my account pages, just get 'this page cannot be displayed' page. can anyone help with this?? thanks janice Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2005 Share Posted August 25, 2005 Set it like this and post back after you've done it define('HTTP_SERVER', 'http://www.dabble.co.uk'); define('HTTPS_SERVER', 'https://spartan.xssl.net/dabble.co.uk'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'dabble.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'spartan.xssl.net/dabble.co.uk'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); <{POST_SNAPBACK}> Thanks, that resolved the problem Darren H Link to comment Share on other sites More sharing options...
janice171 Posted August 25, 2005 Share Posted August 25, 2005 Hi, i don't suppose you could have a look at this or me, i can't get it to work... this is how my congigure.php is set up: define('HTTP_SERVER', 'http://thegamesunit.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://thegamesunit.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'thegamesunit.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'thegamesunit.co.uk'); define('HTTP_COOKIE_PATH', '/gamesunit/'); define('HTTPS_COOKIE_PATH', '/gamesunit/'); define('DIR_WS_HTTP_CATALOG', '/gamesunit/'); define('DIR_WS_HTTPS_CATALOG', '/gamesunit/'); thanks, janice Link to comment Share on other sites More sharing options...
♥Vger Posted August 25, 2005 Share Posted August 25, 2005 The first question has to be - did you purchase a full SSL certificate? If you didn't and you did this as an automated 1-click install provided by your hosting company then it probably installed it for a full SSL certificate anyway. In which case you need to reset the configure.php file like so: define('HTTP_SERVER', 'http://thegamesunit.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'thegamesunit.co.uk'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/gamesunit/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/gamesunit/'); define('DIR_WS_HTTPS_CATALOG', ''); If they offer you use of a shared ssl cert then you need to find out from them what the pathway is. If you DO have a full SSL cert then your initial settings should work - unless you have two folders, one for httpdocs and another one for httpsdocs. Vger Link to comment Share on other sites More sharing options...
janice171 Posted August 25, 2005 Share Posted August 25, 2005 Hi, thank you so much for your help. ecommerce is all a little new to me. i was under the impression that the hosting was with a shared ssl. so (possibly stupid question) what do i need the pathway for? how would i use this? thanks once again. cheers Link to comment Share on other sites More sharing options...
♥Vger Posted August 25, 2005 Share Posted August 25, 2005 A full SSL certificate would allow you to use the following type of https address: https://www.yourdomain.com - which is what you have set up in your configure.php files at the moment. A shared SSL uses a different sort of address, and you need to find out what this address is from your hosting company - as shared SSL addresses are different with each hosting company. Vger Link to comment Share on other sites More sharing options...
VectorSix Posted October 26, 2005 Share Posted October 26, 2005 I am having the same sort of issues with attempting to get to the "My Account" page when not logged in. It attempts to direct to the login page, but instead goes to the index.php page. Going direcetly to the login page works fine. Here are the setting I have tried: define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'https://ssl.catalog.com/~mydomain.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.catalog.com/~mydomain.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Does not fix it, neither does: define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'https://ssl.catalog.com/~mydomain.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.