Guest Posted December 1, 2005 Share Posted December 1, 2005 I have OScommerce installed on the following site: www.voipcomponents.co.uk the problem i have is that when you tryto checkout, oscommerce is removing the www from the overall url and gives a url of just https://voipcomponents.co.uk/blah blah blah how do i make sure that when oscommerce changes to secure page, it keeps the www in the secure url? Link to comment Share on other sites More sharing options...
ozcsys Posted December 1, 2005 Share Posted December 1, 2005 I have OScommerce installed on the following site: www.voipcomponents.co.uk the problem i have is that when you tryto checkout, oscommerce is removing the www from the overall url and gives a url of just https://voipcomponents.co.uk/blah blah blah how do i make sure that when oscommerce changes to secure page, it keeps the www in the secure url? The path is determined by your includes/configure.php file. What is on your cert? The path you use in your configure.php file should match what is on your cert or you will get error messages about it not matching. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
lrparr Posted December 1, 2005 Share Posted December 1, 2005 I have OScommerce installed on the following site: www.voipcomponents.co.uk the problem i have is that when you tryto checkout, oscommerce is removing the www from the overall url and gives a url of just https://voipcomponents.co.uk/blah blah blah how do i make sure that when oscommerce changes to secure page, it keeps the www in the secure url? Modify your catalog/includes/configure.php file to read: define('HTTPS_SERVER', 'https://www.voipcomponents.co.uk/blah'); instead of: define('HTTPS_SERVER', 'https://voipcomponents.co.uk/blah'); which I'm guessing it is currently set to. That is if your SSL includes the www. Hope that helps. Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2005 Share Posted December 1, 2005 Modify your catalog/includes/configure.php file to read: define('HTTPS_SERVER', 'https://www.voipcomponents.co.uk/blah'); instead of: define('HTTPS_SERVER', 'https://voipcomponents.co.uk/blah'); which I'm guessing it is currently set to. That is if your SSL includes the www. Hope that helps. Fixed and all is well now...but cant get the verisign java flash to show on my pages, if you go onto my site where i have the "tag" placed, I had the verisign button inserted there but does not show. Link to comment Share on other sites More sharing options...
Guest Posted December 4, 2005 Share Posted December 4, 2005 Modify your catalog/includes/configure.php file to read: define('HTTPS_SERVER', 'https://www.voipcomponents.co.uk/blah'); instead of: define('HTTPS_SERVER', 'https://voipcomponents.co.uk/blah'); which I'm guessing it is currently set to. That is if your SSL includes the www. Hope that helps. Anyone come across the issue where this *is* set correctly in the configure.php file but the program still insists on routing to domain.com instead of www.domain.com? This is happening for my client and I can't get it to set properly. Susanne Link to comment Share on other sites More sharing options...
Guest Posted December 4, 2005 Share Posted December 4, 2005 Anyone come across the issue where this *is* set correctly in the configure.php file but the program still insists on routing to domain.com instead of www.domain.com? This is happening for my client and I can't get it to set properly. Susanne Hi Susanne, What I realised is you have a configure.php in the following directories: /var/www/domain.com/htdocs/includes/configure.php and /var/www/domain.com/htdocs/admin/includes/configure.php and these take care of your certificate and ssl issues when you are not at the checkout stage. but when you reach the checkout stage your oscommerce shop is actually runnig out of the following directories /var/www/domain.com/htsdocs/includes/configure.php and /var/www/domain.com/htsdocs/admin/includes/configure.php Notice the "htsdocs" has also got configure files that you need to modify, or just copy the ones that you have in the normal "htdocs" directory. Link to comment Share on other sites More sharing options...
♥Vger Posted December 4, 2005 Share Posted December 4, 2005 Your cert is a good (Trusted) cert issued by a reputable authority. It is issued to www.yourdomain.com and is working fine. I have no problem with seeing and using the javascript Verisign link - but as it is a pop-up then you won't see it if you have pop-ups blocked. I have seen this template in use quite a bit recently and there's no denying that it looks quite good. Unfortunately it was done with a lot of sloppy coding. A few more hours work on the part of the developer would have paid off. The code for the header does not include the standard osCommerce page linking methods used and so all links point to http (even those which should be https). Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.