Hi, I am trying to force redirect HTTP to HTTPS as below
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
but it fails with too many redirect error .
appreciate any help .
thanks
Kart
Hi, I am trying to force redirect HTTP to HTTPS as below
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
but it fails with too many redirect error .
appreciate any help .
thanks
Kart