How to remove a cyclic redirection in .htaccess?

On the LAN everything works perfectly. But as I put on the VPS, writes that a redirect loop.

Not like I do not understand how else to write code? I'm not going for every case of index.php to write in htaccess
RewriteEngine on
RewriteRule ^(\w+)$ index.php?page=$1 [L,NC,QSA]
RewriteRule ^(\w+)+\/$ index.php?page=$1 [L,NC,QSA]
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

allow from all
July 8th 19 at 16:28
1 answer
July 8th 19 at 16:30
Solution
RewriteRule ^ http%1://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] - this line why? she in fact is a redirect.

Find more questions by tags htaccessPHP