Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL help needed - Prob something simple.


isptalk

Recommended Posts

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

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

Archived

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

×
×
  • Create New...