I'm having trouble redirecting all traffic to https. Do to the nature of cloudflare flexible ssl, the encryption is only between cloudflare's server and the client, therefore "RequireSSL = yes" setting doesn't seem to work. I get a redirect loop.
With .htaccess, i am able to accomplish this using the following rules: RewriteEngine on RewriteCond %{HTTP_HOST} ^domain\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.domain\.com$ RewriteRule ^/?$ "https\:\/\/domain\.com\/index\.html" [R=301,L]
I tried converting this into a url toolkit rule, but I can't seem to figure it out. It either doesn't work or loops "index.html" multiple times.
If you say that SSL is done by Cloudflare and not by Hiawatha, shouldn't that be the place than to solve this issue? Anyway, the requested UrlToolkit rule is this (I think):