Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL problem


10_little_orcs

Recommended Posts

Hi,

 

I know this has been discussed times and times before, but believe me, I viewed all the earlier posts and tried what they said and nothing helped.

 

An Online-Shop I am more or less in charge of was recently moved to a new server. Since then, we experience this weird "redirection to login when trying to confirm checkout" error. Everything's fine until I want to confirm the order, and then I return to the login page instead.

 

I know this has to do with something in the configuration.php, but I just can't seem to figure it out.

 

The shop uses a shared SSL and the config values are like this (names changed since I don't know if the shop owner wants them to be posted here)

define('HTTP_SERVER', 'http://someserver.com');
define('HTTPS_SERVER', 'https://secure1.otherserver.com/~username');
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'someserver.com');
define('HTTPS_COOKIE_DOMAIN', 'secure1.otherserver.com/~username');
define('HTTP_COOKIE_PATH', '/shop/');
define('HTTPS_COOKIE_PATH', '/shop/');

define('DIR_WS_HTTP_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

 

I also tried to leave the COOKIE_PATH and HTTPS_COOKIE_PATH empty, or with a single slash, but nothing would change.

 

I hope anyone's out there who can help since I'm really at the end of my wits.

 

Please, I'd of course also spend something on your help, e.g. via Paypal, if you only help me to find out what's wrong there.

 

Thanks in advance,

10 little orcs

Link to comment
Share on other sites

try setting the cookie domain/path for the secure server like

 

define('HTTPS_COOKIE_DOMAIN', 'secure1.otherserver.com');

define('HTTPS_COOKIE_PATH', '/~username/shop/');

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...