Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED34D839A for ; Mon, 8 Aug 2011 08:30:19 +0000 (UTC) Received: (qmail 22973 invoked by uid 500); 8 Aug 2011 08:30:19 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 22534 invoked by uid 500); 8 Aug 2011 08:30:12 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 22363 invoked by uid 99); 8 Aug 2011 08:30:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 08:30:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tumbak@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 08:29:59 +0000 Received: by wwe32 with SMTP id 32so3599462wwe.12 for ; Mon, 08 Aug 2011 01:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:date:subject:to :message-id:mime-version:x-mailer; bh=bSLycdJtV6Ai6CNzb60tM/etC9TRsINymDQ8jNdGY0k=; b=hlT7VNX3l6sLUPVDuDxPIeeO3w7d1dw1AE06BExpW5uvEeP5BWI8jmt7r9YPNZj+gC DgM9UwTrAtixIMh++KdOJOuFIHWjrGpZk5Q/PSY6ucTQGAt4yMXrSk8NF3n4Fr+rpG83 z2yNaTkffTesX73w52syWwRkQ/Iz+ifvA3ZoY= Received: by 10.216.166.136 with SMTP id g8mr617001wel.24.1312792177829; Mon, 08 Aug 2011 01:29:37 -0700 (PDT) Received: from [10.0.2.5] ([213.139.32.136]) by mx.google.com with ESMTPS id k44sm1221173wed.33.2011.08.08.01.29.34 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Aug 2011 01:29:36 -0700 (PDT) From: Zaid Amireh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 8 Aug 2011 11:29:32 +0300 Subject: mod_proxy and modified headers in filters. To: modules-dev@httpd.apache.org Message-Id: Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Hello, I'm writing a module for Apache 2.2 that changes the content and thus = needs to set a new C-L header, all is working perfectly for static files = and content generated from content handlers (PHP & Ruby Passenger = Phusion), an issue arose when testing with mod_proxy, it seems that any = changes the module does to the HTTP headers are being ignored by = mod_proxy. mod_proxy keeps serving the headers it first got from the backend source = and disregards any changes my module does, is it possible to change the = headers in this case? virtually yours Zaid=