Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ssl configuration issues...


ladybird

Recommended Posts

Posted

Hey guys, I have spent a few days trouble shooting my ssl. I have read through the forum looking for anything that might help me. I have my includes/configure.php & admin/includes/configure.php set up. My csr has been approved and I have it in my signed certificates in cpanel. When I go to my site and nav to a https:// page I get "The page cannot be displayed". I'm having alot of trouble with this one! Any Ideas?

 

----->My Site

 

 

includes/configure.php

 

 define('HTTP_SERVER', 'http://ashleyannedesigns.com'); // eg, http://localhost - s
 define('HTTPS_SERVER', 'https://ashleyannedesigns.com'); // eg, https://localhost - 
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'ashleyannedesigns.com');
 define('HTTPS_COOKIE_DOMAIN', 'ashleyannedesigns.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/');
 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_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

admin/includes/configure.php

 

define('HTTP_SERVER', 'http://www.ashleyannedesigns.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.ashleyannedesigns.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.ashleyannedesigns.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_WS_CATALOG', '/');
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
 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/');

Posted

Based on seeing others with similar problems, the symptoms appear to indicate that there is something wrong with the way your cert was installed, not with the configure.php file. Search the forums on "terminated unexpectedly".

Posted
Based on seeing others with similar problems, the symptoms appear to indicate that there is something wrong with the way your cert was installed, not with the configure.php file. Search the forums on "terminated unexpectedly".

 

I agree

 

I also suggest picking a format and sticking with it

 

one file shows

 

http://www.ashleyannedesigns.com

 

and the other

 

http://ashleyannedesigns.com

 

 

in other words if you have HTTP in one file set to

http://www.ashleyannedesigns.com

the other should also be

http://www.ashleyannedesigns.com

 

In the HTTPS you MUST place the domain EXACTLY how the cert was purchased or issued.

 

 

If the cert is for ashleyannedesigns.com then you must use

https://ashleyannedesigns.com

 

If the cert is for www.ashleyannedesigns.com then you must use

https://www.ashleyannedesigns.com

My Contributions

 

Henry Smith

Archived

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

×
×
  • Create New...