When a RewriteRule is executed by MOD_Rewrite will all the MOD_Rewrite rules be executed again for the newly generated request? Specifically in the following example, will this cause a loop?
RewriteCond Host: (?:www\.)?mysite\.com RewriteRule ^(.*)$ $1 [QSA,L]
In your case, it won’t at any rate do a loop. You have the ‘L’ switch on, fixing that particular rule as the last one.
Further, you have to explicitly force the next iteration by using the ‘N’ or ‘NS’ switches, or it will just move through your rule file and stop with the last rule that matches. From the docs: