SSL Issues
This is an open discussion with 1 reply, filed under General.
Search
Turns out that due to the load balancer and how the hosting was setup, $_SERVER['HTTPS'] wasn't being set (http://forums.tsohost.co.uk/clustered-hosting-platform-windows-hosting/747-ssl-detection.html).
To solve this I had to modify 'defines.php' to add the following logic:
//work out if HTTPS $httpsDefined = getenv('HTTPS'); if(!$httpsDefined){ $httpsDefined = ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'); } define_safe('HTTPS', $httpsDefined);
Should this be classified as a symphony bug?
Create an account or sign in to comment.
I'm having some issues using https with symphony.
After some difficulties, I've got the frontend of the site working - had some issues as my hosting was behind a load balancer and secondly that all my links needed trailing slashes or were 301ing when jquery was trying to get links.
My htaccess file looks like this currently:
However with this, I'm unable to submit any forms in the symphony backend - they don't register as submitted after clicking submit (as if the event didn't trigger like with a frontend form)
Also one other thing I've noticed is that symphony doesn't seem to be noticing the HTTPS at all - all the javascript and images are being included via http which is giving me lots of 'insecure' content errors.
Anyone have any ideas?
Cheers Guys