rewritebase set to local