Technically, when you request / you request index.html (given index.html is the DirectoryIndex, which is usually the case) so that will indeed result in a loop. If I’m not mistaken RewriteRules checks against the requested URL, not against the requested file, so the problem shouldn’t exist there. If it does, there are other ways we can use, but try this one first