use host header in rewriteLocation