I have implemented Cloud Flare flexible SSL.
The problem is that not all browsers support the type of certificate Cloud Flare use, and as such some users get warning messages.
I wish to redirect users who can use Cloud Flare SSL to the SSL version of my web site.
I initially tried using .htaccess to redirect http to https, however I need a way to only redirect the browsers that can use the SSL cert.
Cloud Flare provide a list of browsers supported, however its not accurate and I found that Safari on OSX 10.8 is not supported, unless updates are run.
In my software I simply try and load a https website, if I get a positive result I send the user to the https website. But users who directly visit my website need to be directed to the correct site.
I can use PHP, Javascript and htaccess.