Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Help Please


UKBenC

Recommended Posts

Posted

I have been issued with a certificate and im having trouble installing it. here is what I have so far:

 

\includes\configure.php

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.bc-computers.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'bc-computers.co.uk'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.bc-computers.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'bc-computers.co.uk');

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/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

\admin\includes\configure.php

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.bc-computers.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.bc-computers.co.uk');

define('HTTPS_CATALOG_SERVER', 'bc-computers.co.uk');

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

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

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

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

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

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

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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

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

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

The certificate has been issued to bc-computers.co.uk but when I goto the secure part of the site it just comes up with page cannot be displayed. Can anyone help please?

Posted
I have been issued with a certificate and im having trouble installing it. here is what I have so far:

 

\includes\configure.php

 

<snip>

 

The certificate has been issued to bc-computers.co.uk but when I goto the secure part of the site it just comes up with page cannot be displayed. Can anyone help please?

 

Hi,

 

I think you'll find it's the following setting in /includes/configure.php:

 

define('HTTPS_SERVER', 'bc-computers.co.uk'); // eg, https://localhost - should not be empty for productive servers

 

You have just put bc-computers.co.uk in there, I think you need to include the https:// part in there too:

 

define('HTTPS_SERVER', 'https://bc-computers.co.uk'); // eg, https://localhost - should not be empty for productive servers

 

Cheers,

 

Tim

Posted

Hi Ben,

 

Don't forget to change the name of your install folder, or remove it when you finished installing oscommerce. I just went to your site and I got the install oscommerce page.

 

Regards

Mike

Posted

Yeah I know ive just ditched the old website there was alot of problems with the template im using so im just checking to make sure the SSL problem isnt related with that. Looks like its the same with a fresh install

Archived

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

×
×
  • Create New...