Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 44B0B200C36 for ; Fri, 10 Mar 2017 09:53:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 41A08160B79; Fri, 10 Mar 2017 08:53:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B11E6160B69 for ; Fri, 10 Mar 2017 09:53:33 +0100 (CET) Received: (qmail 34477 invoked by uid 500); 10 Mar 2017 08:53:32 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 34468 invoked by uid 99); 10 Mar 2017 08:53:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2017 08:53:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 64CF9186142 for ; Fri, 10 Mar 2017 08:53:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.015 X-Spam-Level: * X-Spam-Status: No, score=1.015 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PxifpGaCK-f8 for ; Fri, 10 Mar 2017 08:53:31 +0000 (UTC) Received: from gungnir.webthing.com (209-20-83-52.slicehost.net [209.20.83.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 645D060DC0 for ; Fri, 10 Mar 2017 08:53:31 +0000 (UTC) Received: from [192.168.0.127] (cpc94054-newt37-2-0-cust546.19-3.cable.virginm.net [92.233.50.35]) by gungnir.webthing.com (Postfix) with ESMTPSA id A15B99C3AF for ; Fri, 10 Mar 2017 08:53:23 +0000 (UTC) Message-ID: <1489135997.3937.327.camel@mimir.webthing.com> Subject: Re: problem when rewrite host header with plugin header_rewrite From: Nick Kew To: users@trafficserver.apache.org Date: Fri, 10 Mar 2017 08:53:17 +0000 In-Reply-To: References: <4DA7F509-913D-468A-BB9B-945426961FE0@apache.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit archived-at: Fri, 10 Mar 2017 08:53:34 -0000 On Fri, 2017-03-10 at 08:40 +0800, 彭勇 wrote: > thanks zwoop, > > i would like to only rewrite the host header and not the origin server. > > the map_regex will rewrite the host header and the origin server. Check your proxy.config.url_remap.pristine_host_hdr -- Nick Kew