On Tue, Sep 29, 2015 at 6:19 PM, K R wrote:
> 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 .
>
Did you google "apache https redirect"? Th
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