isptalk Posted January 21, 2007 Share Posted January 21, 2007 Hi there, I am trying to setup SSL on a shop I am setting up. www.isptalk.co.nz/catalog the secure domain I use is https://secure.hostmonster.com and the path to my catalog folder in my host is: https://secure.hostmonster.com/~websited/isptalk/catalog My domain name is isptalk.co.nz and the shop is located in www.isptalk.co.nz/catalog. I don't think I have setup my includes/configure.phhttp://www.oscommerce.com/forums/style_images/1/folder_rte_images/quote.gif Wrap in a Quotep correctly as when I click continue after ordering I am taken to a page called: https://secure.hostmonster.com/~websited/is...a3389453f94616b As you can see there is /catalog/catalog that is causing the error. But how come I can use secure without errors until this point. My configure.php contains the following settings: define('HTTP_SERVER', 'http://isptalk.co.nz'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.hostmonster.com/~websited/isptalk/catalog/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'isptalk.co.nz'); define('HTTPS_COOKIE_DOMAIN', 'secure.hostmonster.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/isptalk/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); Link to comment Share on other sites More sharing options...
isptalk Posted January 21, 2007 Author Share Posted January 21, 2007 Hi, just letting you know that I figured out what I did wrong. My code should have been this. define('HTTP_SERVER', 'http://isptalk.co.nz'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.hostmonster.com/~websited/isptalk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'isptalk.co.nz'); define('HTTPS_COOKIE_DOMAIN', 'secure.hostmonster.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.