rewrite conf