Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 64358 invoked from network); 5 Apr 2007 12:25:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 12:25:56 -0000 Received: (qmail 28222 invoked by uid 500); 5 Apr 2007 12:25:59 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 28172 invoked by uid 500); 5 Apr 2007 12:25:59 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 28158 invoked by uid 99); 5 Apr 2007 12:25:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:25:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [217.68.21.230] (HELO stack.guardian.co.uk) (217.68.21.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:25:51 -0700 Received: from ldnmta02.int.gnl (Not Verified[10.4.1.181]) by stack.guardian.co.uk id ; Thu, 05 Apr 2007 13:25:29 +0100 Received: from [10.135.72.114] ([10.135.72.114]) by ldnmta02.int.gnl (Lotus Domino Release 6.5.5FP2) with ESMTP id 2007040513252422-1084097 ; Thu, 5 Apr 2007 13:25:24 +0100 Message-ID: <4614EAB9.6000307@terminus.co.uk> Date: Thu, 05 Apr 2007 13:25:29 +0100 From: Stuart Children User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: ProxyErrorOverride and redirects (PR 39245) References: <1404e5910704040748h65c2624fja9537874fa824844@mail.gmail.com> <20070404163031.71e4da7b@grimnir> <20070404213431.GA27973@urchin.earth.li> <20070405090419.GA27000@redhat.com> <20070405101454.02c9b103@grimnir> In-Reply-To: <20070405101454.02c9b103@grimnir> X-MIMETrack: Itemize by SMTP Server on LDNMTA02/SVR/GNL(Release 6.5.5FP2|October 23, 2006) at 05/04/2007 13:25:24, Serialize by Router on LDNMTA02/SVR/GNL(Release 6.5.5FP2|October 23, 2006) at 05/04/2007 13:25:24, Serialize complete at 05/04/2007 13:25:24 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Nick Kew wrote: > A redirection page is likely to include a redirected URL. > In a reverse proxy situation, that may need to be rewritten. Conceivably, yes. Though I would maintain that *by default* people with reverse-proxies would want/expect all their headers retained intact. > Use of ProxyErrorOverride could be a valid alternative to > mod_proxy_html in that situation, couldn't it? Not sure what you mean there - ProxyErrorOverride is a directive for mod_proxy... In any case, it does not allow one to rewrite the redirect URL. The 2.2.4 behaviour is that the Location header gets retained as-is, but all other headers are stripped out - and I can't see why anyone would want that. > Looks to me like a valid usage case for ProxyErrorOverride 3xx. I don't see how it would achieve what you stated above. If you do want to rewrite headers (Location or any others), the code that deals with altering the response for what are considered error pages is surely not the place to do it. -- Stuart Children http://terminus.co.uk/ ------------------------------------------------------------------ Visit Guardian Unlimited - the UK's most popular newspaper website http://guardian.co.uk http://observer.co.uk ------------------------------------------------------------------ The Newspaper Marketing Agency Opening Up Newspapers http://www.nmauk.co.uk ------------------------------------------------------------------ This e-mail and all attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender and delete the e-mail and all attachments immediately. Do not disclose the contents to another person. You may not use the information for any purpose, or store, or copy, it in any way. Guardian News & Media Limited is not liable for any computer viruses or other material transmitted with or as part of this e-mail. You should employ virus checking software. Guardian News & Media Limited A member of Guardian Media Group PLC Registered Office Number 1 Scott Place, Manchester M3 3GG Registered in England Number 908396