HTTPS rewrite rules too many redirects
i just installed ssl and certificates on my vps , now i made test so fare everthings works fine on testing single html file with ssl appearing

but when i use my htacess on my website it's totally different thing iam trying to secure login.php but i got too many redirect on , pls need ur help guys

`RewriteEngine on

RewriteRule ^(.+).html$ $1/?%{QUERY_STRING}

RewriteRule ^index/$ place/Place.php

RewriteRule ^login/$ login.php

RewriteCond %{HTTPS} off
RewriteCond $1 ^(login) [NC]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]`

 
HTTPS rewrite rules too many redirects
===

i just installed ssl and certificates on my vps , now i made test so fare everthings works fine on testing single html file with ssl appearing

but when i use my htacess on my website it's totally different thing iam trying to secure login.php but i got too many redirect on , pls need ur help guys

`RewriteEngine on

RewriteRule ^(.+).html$ $1/?%{QUERY_STRING}

RewriteRule ^index/$ place/Place.php

RewriteRule ^login/$ login.php

RewriteCond %{HTTPS} off
RewriteCond $1 ^(login) [NC]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]`

 