enable rewrite.so