arb1099 Posted December 28, 2005 Share Posted December 28, 2005 Something is wrong. I have a shared hosting plan with a shared SSL certificate. I created a test user and during resitration, it switches to SSL correcectly. However, when I log the test user in, this happens: https://mmm123.zyx1.net/store/catalog/index.php? . . . . instead of this https://mmm123.zyx1.net/usern/store/catalog/index.php? . . . Essentially, it is incorrectly redirecting. When using ssl the path should always be https://---/usern/store/catalog/. Without my shared hosting user name (usern in this example) my online store won't be accessible. What's wrong? This is the relevant section of my configure.php file: define('HTTP_SERVER', 'http://www.generic.com') define('HTTPS_SERVER', 'https://mmm123.zyx1.net') define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.generic.com'); define('HTTPS_COOKIE_DOMAIN', 'mmm123.zyx1.net'); define('HTTP_COOKIE_PATH', '/store/catalog/'); define('HTTPS_COOKIE_PATH', '/usern/store/catalog/'); define('DIR_WS_HTTP_CATALOG', '/store/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/usern/store/catalog/'); Thanks so much! Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 28, 2005 Share Posted December 28, 2005 The entries for the ssl in the configure file don't contain the user name. Try this define('HTTPS_SERVER', 'https://mmm123.zyx1.net/~username') define('HTTPS_COOKIE_DOMAIN', 'mmm123.zyx1.net/~username'); define('HTTPS_COOKIE_PATH', '/store/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/store/catalog/'); Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
arb1099 Posted December 30, 2005 Author Share Posted December 30, 2005 Thanks alot ? I will try that! The entries for the ssl in the configure file don't contain the user name. Try this define('HTTPS_SERVER', 'https://mmm123.zyx1.net/~username') define('HTTPS_COOKIE_DOMAIN', 'mmm123.zyx1.net/~username'); define('HTTPS_COOKIE_PATH', '/store/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/store/catalog/'); Jack Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.