Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Query???


dmhow2

Recommended Posts

Posted

I have an SSL cert in place on https://mydomain.ie

 

I've updated the 2 configuration files: -

 

shop/includes/configure.php

shop/admin/includes/configure.php

 

The SSL seems to be working fine on the front end but when i log into the admin section it will not redirect me to the https page!!!!!

 

Here is the updated code in shop/admin/includes/configure.php: -

 

define('HTTP_SERVER', 'http://mydomain.ie'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://mydomain.ie'); // eg, https://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://mydomain.ie');

define('HTTPS_CATALOG_SERVER', 'https://mydomain.ie');

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

define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/urbanf/urbanfootwear.ie/shop/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/hsphere/local/home/urbanf/urbanfootwear.ie/shop/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/hsphere/local/home/urbanf/urbanfootwear.ie/shop/'); // 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/');

 

 

Am I missing something here?????

 

Would appreciate any help

Thanks

Denise

Posted

If you want all of your 'admin' to be behind ssl - and to see the padlock on every page) then define your http addresses to also be https in admin/includes/configure.php

 

define('HTTP_SERVER', 'https://mydomain.ie'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://mydomain.ie'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTPS_CATALOG_SERVER', 'https://mydomain.ie');

 

Vger

Archived

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

×
×
  • Create New...