Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL problem


impactflies

Recommended Posts

Posted

I have added a shared ssl to my new store just to get it up and running, no problem on the store pages apart from a minor image problem that was fixed by adding the https address to the hotlink list.

 

The problem I have is I can no longer access the admin side, I just get a 404 not found error. I have read all through various posts regarding ssl and I believe my config files are correct, the catalog/includes/config.php seems to be as the store is working fine, there may be something amiss with the admin/includes/config file

 

  define('HTTP_SERVER', 'https://www.mydomain.com');
 define('HTTP_CATALOG_SERVER', 'https://www.mydomain.com');
 define('HTTPS_CATALOG_SERVER', 'https://secure.hostmonster.com/~userame');
 define('ENABLE_SSL_CATALOG', 'true');
 define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html/catalog/');
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', '/home/username/public_html/catalog/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/home/username/public_html/catalog/');

 

Does anything look wrong here, can anybody help with this?

Thanks

Posted

For future reference for anybody else having this problem.

 

I seemed to have solved this by changing this;

 

define('HTTP_SERVER', 'https://www.mydomain.com');

define('HTTP_CATALOG_SERVER', 'https://www.mydomain.com');

define('HTTPS_CATALOG_SERVER', 'https://secure.hostmonster.com/~userame');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html/catalog/');

define('DIR_WS_ADMIN', '/catalog/admin/');

define('DIR_FS_ADMIN', '/home/username/public_html/catalog/admin/');

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', '/home/username/public_html/catalog/')

 

to this

 

define('HTTP_SERVER', 'https://secure.hostmonster.com/~userame');

define('HTTP_CATALOG_SERVER', 'https://secure.hostmonster.com/~userame');

define('HTTPS_CATALOG_SERVER', 'https://secure.hostmonster.com/~userame');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html/catalog/');

define('DIR_WS_ADMIN', '/catalog/admin/');

define('DIR_FS_ADMIN', '/home/username/public_html/catalog/admin/');

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', '/home/username/public_html/catalog/')

Archived

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

×
×
  • Create New...