Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

check config for ssl


vwebworld

Recommended Posts

Posted

I installed an SSL but it does not seem to work (goes to my default host page)

when I click on a link that should be using the ssl.

 

Please check the following config files to see if I have something messed up:

(Oscommerce is installed in the root directory)

 

includes/configre.php

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

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

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

define('HTTP_COOKIE_DOMAIN', 'myshop.com');

define('HTTPS_COOKIE_DOMAIN', 'myshop.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

 

admin/includes/config.php

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

define('HTTP_CATALOG_SERVER', 'http://myshop.com');

define('HTTPS_CATALOG_SERVER', 'https://myshop.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/software/public_html'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/software/public_html/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/home/software/public_html/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

 

thanks. Roland

Posted

Mine looks like this, might be a different way to do it, but it works

  define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', 'www.mydomain.com');
 define('HTTPS_COOKIE_PATH', 'www.mydomain.com');

Store is also in the root

Archived

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

×
×
  • Create New...