Login Problems with MS2

Intellutions <[email protected]> 13 Sep 2003 18:43:46 -0000
Newsgroups gmane.comp.web.oscommerce.installation
Message-ID <d57690299df842d9e728d711d014a34b@osCommerce-Forums>
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=228974#228974
----------------------------------------------------------------

I had a similar problem where logging in with a valid login & password would result in a 404 error.  Refreshing that page would bring you to a "login failure" screen even though the login was actually accepted.

I figured I would post my changes in case they will help anyone.

Just like others I had to change the HTTPS settings in configure.php.

SSL is Shared
HTTP is //www.creativeevolution.net
HTTPS is //calvin.intellutions.com/creativeevolution/

Original Code:
[code]
  define('HTTP_SERVER', 'http://www.creativeevolution.net'); 
  define('HTTPS_SERVER', 'https://calvin.intellutions.com'); 
  define('ENABLE_SSL', true); 
  define('HTTP_COOKIE_DOMAIN', 'creativeevolution.net');
  define('HTTPS_COOKIE_DOMAIN', 'calvin.intellutions.com');
  define('HTTP_COOKIE_PATH', '/catalog/');
  define('HTTPS_COOKIE_PATH', '/creativeevolution/catalog/');
  define('DIR_WS_HTTP_CATALOG', '/catalog/');
  define('DIR_WS_HTTPS_CATALOG', '/creativeevolution/catalog/');
[/code]

Changed it to:
[code]
  define('HTTP_SERVER', 'http://www.creativeevolution.net'); 
  define('HTTPS_SERVER', 'https://calvin.intellutions.com/creativeevolution'); 
  define('ENABLE_SSL', true); 
  define('HTTP_COOKIE_DOMAIN', 'creativeevolution.net');
  define('HTTPS_COOKIE_DOMAIN', 'calvin.intellutions.com');
  define('HTTP_COOKIE_PATH', '/catalog/');
  define('HTTPS_COOKIE_PATH', '/catalog/');
  define('DIR_WS_HTTP_CATALOG', '/catalog/');
  define('DIR_WS_HTTPS_CATALOG', '/catalog/');
[/code]

Logging in works great now!

Richard Arsenault
Intellutions LLC
[email protected]