Move rewrites from vhost template into rewrite rules per new apache module.