milauskas Posted July 2, 2008 Share Posted July 2, 2008 Hi all, I've searched the posts and haven't found the *exact* solution to my problem so here it is: I am setting up an osC site on GoDaddy. We purchased an SSL cert for the domain. I notice that now when I try to access the site via FTP the IP address has changed. No problem, I can still log in and upload. However, my store is not secure. I've never used a cert from GoDaddy so I'm not sure of the settings in configure.php. I've tried some things suggested here, but nothing works. Here's my configure.php code: define('HTTP_SERVER', 'http://www.thefatasserie.com'); define('HTTPS_SERVER', 'https://www.thefatasserie.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'thefatasserie.com'); define('HTTPS_COOKIE_DOMAIN', 'thefatasserie.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', 'z:/home/128osc/www/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); The store is up and seems to be running okay. I'm able to add/delete products, etc. I just don't know what more I need to do to secure it. BTW, GODaddy support couldn't give me any help. Thanks for any insight. Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 2, 2008 Share Posted July 2, 2008 This line define('HTTPS_COOKIE_DOMAIN', 'thefatasserie.com'); should be define('HTTPS_COOKIE_DOMAIN', '.www.thefatasserie.com'); Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
milauskas Posted July 3, 2008 Author Share Posted July 3, 2008 This linedefine('HTTPS_COOKIE_DOMAIN', 'thefatasserie.com'); should be define('HTTPS_COOKIE_DOMAIN', '.www.thefatasserie.com'); Jack Hi Jack, I did that, but no change. The pages are still unsecured. One question, should that period before the "www" be there? In any case, it's currently not working. Mike Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 3, 2008 Share Posted July 3, 2008 Yes, the period should be there. You should also make the same change to define('HTTP_COOKIE_DOMAIN', 'thefatasserie.com'); The problem is probably how godaddy is using to mark a page as secure. See this thread and use the test code there to find the proper code for your shop. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
satish Posted July 3, 2008 Share Posted July 3, 2008 SSL is installed. Your code is not using href standard coding practie needed for oscommerce. else Your My account would have pointed to https://thefatasserie.com/login.php but is pointing to http://thefatasserie.com/login.php You need to modify those links. Probably You purchased a template that used a direct href rather tep href function of oscommerce. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
milauskas Posted July 3, 2008 Author Share Posted July 3, 2008 Thanks, Satish. Where do I go to modify them? Link to comment Share on other sites More sharing options...
satish Posted July 3, 2008 Share Posted July 3, 2008 Well You need to FTP into Your site and chek for the code that results in the link. It appears its in footer. So in includes>>footer.php Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
milauskas Posted July 7, 2008 Author Share Posted July 7, 2008 Well I don't think I needed to do anything with the footer, however, after some tinkering (thanks, Jack) I seem to have gotten it to work. My checkout process is now secure. I did not need the initial periods before the domain name (as is given in that SSL example post), but merely the domain itself (in my case 'thefatasserie.com'). I also noticed that I had the default setting still on this line: define('DIR_FS_CATALOG', 'z:/home/128osc/www/'); which is what it was set to in the template I am using. I *think* that got changed during installation, but I may have uploaded an old version. In any case, it's working. Now on to the admin section... Thanks Jack, thanks Satish. I am grateful for your help. Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 8, 2008 Share Posted July 8, 2008 You will need the period for the session ID's to be removed from the url's so that should be changed. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
milauskas Posted July 8, 2008 Author Share Posted July 8, 2008 You will need the period for the session ID's to be removed from the url's so that should be changed. Jack Jack, Thanks again. I didn't realize that, but now I know. I re-added those periods. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.