Asenar Posted July 1, 2011 Share Posted July 1, 2011 Hi everyone, In the php documentation, if the reserved variable $_SERVER['HTTPS'] has a non-empty value (and it's not "off"), we have to consider it's HTTPS. Unfortunately, some hosting providers doesn't respect this :sMost of you know you can fix this by editing config.inc.php (for example) and adding the following : if($myCustomHttpsCondition) $_SERVER['HTTPS'] = 1; Can you please contribute to that thread by adding the specific condition of your provider, with it's name ?I Start the list :Provider : default php configuration$_SERVER index : HTTPSWhen SSL : onWhen no SSL : index does not existsProvider : 123-Reg.co.uk$_SERVER index : SSLWhen SSL : 1When no SSL : index does not existsProvider : $_SERVER index : When SSL : When no SSL : Link to comment Share on other sites More sharing options...
Vincent Decaux Posted July 1, 2011 Share Posted July 1, 2011 Provider : OVH$_SERVER index : HTTPSWhen SSL : onWhen no SSL : $_SERVER['HTTPS'] = NULL Link to comment Share on other sites More sharing options...
steve_c Posted July 1, 2011 Share Posted July 1, 2011 Hi I am having trouble with 123-reg too. I need to enable SSL but I get the link "Please click here to use HTTPS protocol before enabling SSL."On clicking - the option to enable SSL does not appear.Can you tell me how to fix this problem?Also - I am sure I have come across another bug with 123-hosting as listed here Link to comment Share on other sites More sharing options...
Pauline_Presta Posted December 18, 2011 Share Posted December 18, 2011 Hi, Thanks for your contribution, boys, but my provider makes a correct interpretation of ssl/https, so there is no need to edit anything in files via ftp as following Michael Marinetti post. I do have the exact same (???) problem as steve_c... Recently I have bought Rapid SSL certificate, domain, hosting and permanent ip. While my service provider configured my hosting and SSL, I was given the last solution - only to configure by myself my Prestashop script. So, due to the fact, that I bought the certificate via my hosting provider (he tells everything is working fine), I was sure my shop was to start. But wait! The domain is http://kusicielska.pl and the secured domain is https://kusicielska.pl. In back-office in my Prestashop script I turned on SSL - as it was previously configured - but nothing has changed. THERE is no radio button YES/NO in my back-office. When I click My account or Log in, it doesn't redirect to https. I tried to force it via enabling ssl in phpmyadmin, but this also doesn't work... As far as I know, clicking on ie Log in, we should be redirected to https://kusicielska.pl/my-account and not to http://kusicielska.pl/my-account - as it occurs now. Please, help me resolve this problem. At now, I have paid for the certificate and cannot use it. People are discouraged to buy if there is no https while they are typing in their data... Google doesn't help, I have read almost all your topics which share the problem... By the way... When I wanted to upgrade, I just clicked Upgrade in backoffice.... then what appeared to me: Currently processing : [server Error] Status message : error.???? My provider is: linuxpl.com. I think something is misconfigured. Others have similar problems, could you please help me? Thank you in advance, Marcin Prestashop: 1.4.4.1 Linux #1 SMP Fri Nov 18 20:48:37 CET 2011 x86_64 Wersja oprogramowania serwera: Apache Wersja PHP: 5.2.17 Wersja MySQL: 5.1.60 Short url - enabled http://kusicielska.pl/ Email: [email protected] Link to comment Share on other sites More sharing options...
Recommended Posts