The following lines and all similar codes makes android browser throw error "too many redirects"
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
I couldn't find any solution to resolve this problem and I don't believe there is a solution. Only I wonder why this error occure? Does anyone know source of the error?
If you installed certificate but you did not install CA certificates this problem occurs.
CA certificates are required and you will have trouble with this little mistake when you never expected.