I have the following code in a htaccess redirect that I copied from another site which is working absolutely fine. Can anyone see any problems with this?

```
    <IfModule mod_rewrite.c>

    Options +FollowSymlinks -MultiViews
    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^site-url.com$
    RewriteRule ^(.*)$ http://www.site-url.com/$1 [R=301]

    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 

    </IfModule> 

```

So basically I am redirecting from <http://site-url.com> to <http://www.site-url.com> and then if not https I am redirecting to https.

The provider of the servers say they don't support code which is fair enough but I have tried everything and no matter what the site gets stuck in an infinite loop. It seems like the server isnt acknowledging the 

```
    RewriteCond %{HTTPS} !=on

```

but I have also tried this with 

```
    RewriteCond %{SERVER_PORT} !^443$

```

And get the same problem.

Does anyone have a suggestion or could this be a configuration problem with the server? If so could anyone give an indication of what it may be?

Thanks

Jason