Add configurable RewriteBase