merlin371 Posted April 17, 2003 Share Posted April 17, 2003 on the admin section of oscommerce it sais that i'm not protected with ssl on the site where i'm hosting the web i can turn on a shared ssl i was wondering does the program activates it itself or do i have to do anything Thank ou for your help Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2003 Share Posted April 17, 2003 SSL is something that is offered and initiated by your host as a certificate is required. OSC automatically 'requests' that certain pages be launched via SSL, such as login, checkout, etc. For many shared certificate hosts, there are two directories; public_html and secure_html. You need to make sure that you have SSL capability with your host, and that you have copies of your public_html files in the secure_html folder. Link to comment Share on other sites More sharing options...
orchard Posted April 17, 2003 Share Posted April 17, 2003 You need to edit the admin/includes/configure.php to put in the correct servers and paths to get SSL working for the administration tools. In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink: Link to comment Share on other sites More sharing options...
merlin371 Posted April 18, 2003 Author Share Posted April 18, 2003 what do you have to change in that file Link to comment Share on other sites More sharing options...
grantjm Posted April 18, 2003 Share Posted April 18, 2003 Hi, I am also trying to get more info on enabling SSL. Are there any instructions on that? BG Making the internet community better. Knowledge is power. Link to comment Share on other sites More sharing options...
Guest Posted April 19, 2003 Share Posted April 19, 2003 SSL is enabled, or rather facilitated, by your webhost, not OSC. Link to comment Share on other sites More sharing options...
orchard Posted April 19, 2003 Share Posted April 19, 2003 Here is part of my configure.php which seems to work fine with shared SSL. Because my path is different for http and https (/www/arbucklechurch vs /arbucklechurch), it was easier to make the HTTP_CATALOG_SERVER actually do https. The only downside is that if you click on Online Catalog from the admin site you get a secure version of your store, but I didn't mind that. Even though I'm using all https, some of the paths still had to use the http path (/www/arbucklechurch) as you can see below, but it works. The other important discovery I made today is that for proper operation you need to go in IE to Tools->Internet Options->Advanced and click "Do not save encrypted pages to disk" and then clear your browser's cash. Otherwise I was getting strange behavior like the file manager tool wouldn't change directories correctly. define('HTTP_SERVER', 'https://whisper.internetsecuresite.com'); define('HTTP_CATALOG_SERVER', 'https://whisper.internetsecuresite.com'); define('HTTPS_CATALOG_SERVER', 'https://whisper.internetsecuresite.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/www/arbucklechurch'); // where the pages are located on the server define('DIR_WS_ADMIN', '/arbucklechurch/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/www/arbucklechurch/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/arbucklechurch/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/www/arbucklechurch/catalog/'); // 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/'); In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.