Add a RewriteBase /
(or whatever the base URI should be) above all of your rules.
What's happening is that mod_rewrite tries to guess if the target of a rewrite rule is a URL path or a file path and it is guessing incorrectly that it's a file path and appends the incorrect base path.