I've a rewrite rule to convert mysite.com/?lang=en to mysite.com/en, but this now gets me into troubles as the referenced files in the .html are relative to parent folder, and now its supossed to be /en/ instead of the root folder, how could I fix it?

PS: I think it has something to do with RewriteCond, but couldn't find the solution yet.