set default rewrite base