Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shared ssl


benwalsh

Recommended Posts

Posted

i have had my host set up a check out for me on their shared secure server

 

all is well till i try to checkout, it reads Your Shopping Cart is empty!

i have only changed the one file so far

includes/config.php

define('HTTP_SERVER', 'http://example.net.au'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://ssl.host.net/~example'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'example.net.au');
 define('HTTPS_COOKIE_DOMAIN', "example.net.au');

i have added the true and 'https://ssl.host.net/~example'

 

do i need to also do some thing with the cookie?

do i need to change admin/config (i assume so)

and do i now have two copies of each to edit

i.e. secure server and normal server?

Posted

define('HTTP_SERVER', 'http://example.net.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://ssl.host.net'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'example.net.au');

define('HTTPS_COOKIE_DOMAIN', "ssl.host.net');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/~example/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/~example/');

 

Vger

Archived

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

×
×
  • Create New...