robyoung Posted July 25, 2006 Posted July 25, 2006 I now have a SSL certificate and want to get admin and account etc on https. How do I do this? Copy the directories over? Help appreciated.... bonus waiting! Rob
Jack_mcs Posted July 25, 2006 Posted July 25, 2006 If the ssl has been installed and is working, then you just need to change the settings in your configure files. There is an option ot enable it and you have to add the urls. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
robyoung Posted July 25, 2006 Author Posted July 25, 2006 Sorry if I am being stupid! This is my config file.... <?php // Please, note that all changes in this file will be lost // after reconfiguring application by Plesk define('HTTP_SERVER', 'http://www.youngandsmart.co.uk'); define('HTTPS_SERVER', 'http://www.youngandsmart.co.uk'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', 'youngandsmart.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'youngandsmart.co.uk'); define('HTTP_COOKIE_PATH', '/Store/'); define('HTTPS_COOKIE_PATH', '/Store/'); define('DIR_WS_HTTP_CATALOG', '/Store/'); define('DIR_WS_HTTPS_CATALOG', '/Store/'); 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/');
Jack_mcs Posted July 26, 2006 Posted July 26, 2006 It is correct except for this line define('HTTPS_SERVER', 'http://www.youngandsmart.co.uk'); It should be define('HTTPS_SERVER', 'https://www.youngandsmart.co.uk'); The extra s in https stands for secure, meaning the ssl certificate. Also, if your shop is on a linus server and it is named store, not Store, then this will fail. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.