Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 24601 invoked from network); 5 Feb 2009 09:13:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 09:13:56 -0000 Received: (qmail 42569 invoked by uid 500); 5 Feb 2009 09:13:49 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 42509 invoked by uid 500); 5 Feb 2009 09:13:49 -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 42500 invoked by uid 99); 5 Feb 2009 09:13:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 01:13:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nickgearls@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 09:13:41 +0000 Received: by ug-out-1314.google.com with SMTP id a2so140010ugf.23 for ; Thu, 05 Feb 2009 01:13:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+CPsCGZQaGDh1qXcToYpl9cahQgR2a3volCjkbvVKqU=; b=jNHutzhxkNnEW2M/CEfXdLQ0/5k3qN0EO3PgxCW/Dj5HQfMd69ONh2Zx7YRRcUQiVs L6j/Kyj7m05UYtg7wu0yIZiHDX+1shZuYSwCJbHIiOATDPTb0t6uzv2Tms1vVI8FhVx1 I4ALnGv5rouHKEVpZcm8m1KhNj4JzfXeKCSnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=qpo7zF3kEsinNyJAnx9V5Ewvyn7OHDnsJKo0cufQ8FIE7SOSFGdpzXLItFrvy8tghP H+n61PEVDcM92JULdGmhHT9FOZ2h1q7P6PHEOEAq9Hb8pHEvZPYJ9Ue/zKZP5C3Xremd yyyn00CUY1KU0Mog12E+73DXUjeHEZVli4yKk= Received: by 10.67.88.7 with SMTP id q7mr4325317ugl.76.1233825199970; Thu, 05 Feb 2009 01:13:19 -0800 (PST) Received: from ?127.0.0.1? (caron.approach.be [217.64.248.146]) by mx.google.com with ESMTPS id c9sm749268nfi.45.2009.02.05.01.13.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 01:13:19 -0800 (PST) Message-ID: <498AADAD.7020002@gmail.com> Date: Thu, 05 Feb 2009 10:13:17 +0100 From: Nick Gearls User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Development Apache Subject: Re: ProxyErrorOverride inside location References: <49881ECE.8070802@gmail.com> In-Reply-To: <49881ECE.8070802@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org It seems there is a little problem in my code. When defining "ProxyErrorOverride On" at the vhost level, then "ProxyErrorOverride Off" at a directory level, the directive does not seem to work at the directory level. The merge works correctly, I traced it, and "error_override" is set to 1 at global level, then to 0 at the dir level. But in "ap_proxy_http_process_response()", dconf->error_override" is always set to 1. dconf is built as usual: proxy_dir_conf *dconf = ap_get_module_config(r->per_dir_config, &proxy_module); Any idea ? Thanks, Nick Nick Gearls wrote: > A patch is submitted: > https://issues.apache.org/bugzilla/show_bug.cgi?id=46656 > > Here are the modifs: > - added |ACCESS_CONF to AP_INIT_FLAG > - error_override & error_override_set are moved to proxy_dir_conf > - set_proxy_error_override() is modified to use provided dconf* > > As I explained, this is very useful when using Web Services, as SOAP > errors are reported inside status 500 pages. > > Will this be added ? > >