Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I make the Admin section operate over SSL??


Guest

Recommended Posts

Posted

Hi,

 

hopefully this is a simple question, probably asked before, how do I make the admin section operate over SSL? currently, it does not.

 

Thanks,

 

Dan.

Posted

admin\includes\configure.php

 

change

  define('HTTP_SERVER', 'http://domain.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://domain.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

 

to

 

  define('HTTP_SERVER', 'https://domain.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'https://domain.com');
 define('HTTPS_CATALOG_SERVER', 'https://domain.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

note that you must have an SSL cert an dyou also must use the domain setup as the SSL cert is on https://domain.com or https://www.domain.com for SSl its not interchangable

K Groner

Archived

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

×
×
  • Create New...