Fixed RewriteBase for local