Fix vhost header for rewrite directive