Hi Guys,
I'm having a little troubel as I'm new to all this....
I read the article: https://www.zen-cart.com/tutorials/index.php?article=14 - "How to configure SSL/HTTPS after i have installed Zen cart"...but I still couldn't get it to work...
My SSL is currently a shared cert & I entered the details when installing Zen, however it did not work & I could only login if I disabled it.
I am now trying to get it to work, but I'm not sure where I am going wrong. I have included the code Zen says to change & other bits of code that might be relevant.
Many Thanks in advance :)
1. my store location is: /shop
2. my cert is in this format: https://secure19.inmotionhosting.com/~dom5
.:: /admin/includes/configure.php ::.
PHP Code:
define('HTTP_SERVER', 'http://www.domain.com');
define('HTTPS_SERVER', 'https://secure19.inmotionhosting.com/~dom5');
define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
define('HTTPS_CATALOG_SERVER', 'https://secure19.inmotionhosting.com/~dom5');
// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');
.........however I also have this:
PHP Code:
define('DIR_WS_HTTPS_ADMIN', 'https://www.domain.com/shop/shop/admin/');
define('DIR_WS_HTTPS_CATALOG', 'https://www.domain.com/shop/shop/');
.:: /includes/configure.php ::.
PHP Code:
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.domain.com');
define('HTTPS_SERVER', 'https://secure19.inmotionhosting.com/~dom5');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
............and I also have this:
PHP Code:
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', 'https://www.domain.com/shop/shop/');
Many Thanks
Bookmarks