Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21FC29721 for ; Thu, 2 Feb 2012 03:25:16 +0000 (UTC) Received: (qmail 18933 invoked by uid 500); 2 Feb 2012 03:25:11 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 18597 invoked by uid 500); 2 Feb 2012 03:24:56 -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 18586 invoked by uid 99); 2 Feb 2012 03:24:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 03:24:49 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [71.6.165.248] (HELO kramer.ogre.com) (71.6.165.248) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 03:24:40 +0000 Received: from lt28wrwg1-skirk.jomax.paholdings.com (ip-64-202-160-161.secureserver.net [64.202.160.161] (may be forged)) (authenticated bits=0) by kramer.ogre.com (8.14.5/8.14.5) with ESMTP id q123O9HL024628 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Wed, 1 Feb 2012 19:24:15 -0800 X-DKIM: Sendmail DKIM Filter v2.8.3 kramer.ogre.com q123O9HL024628 Message-ID: <4F2A01D9.7040705@apache.org> Date: Wed, 01 Feb 2012 20:24:09 -0700 From: Leif Hedstrom User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: users@trafficserver.apache.org CC: geoffrey@exceleratesoftware.com Subject: Re: HTTP Headers in a forward proxy References: <168908378.20120131221350@network-geographics.com> <1145144722.20120201082858@network-geographics.com> <4F2952A0.3080001@apache.org> <728010377.20120201163510@network-geographics.com> <4F29D9C3.90004@apache.org> In-Reply-To: <4F29D9C3.90004@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/1/12 5:33 PM, Leif Hedstrom wrote: > On 2/1/12 3:35 PM, Alan M. Carroll wrote: >> Wednesday, February 1, 2012, 3:22:11 PM, you wrote: >> >>> --- remap.config --- >>> regex_map >>> http://www.youtube.comhttp://www.youtube.com@plugin=/libexec/trafficserver/header_filter.so >>> @pparam=/etc/trafficserver/youtube.config >>> regex_map http://(.*) http://$1 >> Two more things while I remember it: 1) You shouldn't have to type the full path to the plugin, as long as you installed it in the normal install directory. I.e. @plugin=header_filter.so should work. 2) This particular plugin is a bit "strange", in that it is both a remap plugin, and normal (hooks) plugin. This means for it to function properly, you also have to add a line to plugins.config, to make sure all the hooks are activated. I don't know if the documentation specifies this or not? Cheers, -- Leif