From dev-return-42987-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Mon Jul 05 09:40:10 2004 Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 38829 invoked from network); 5 Jul 2004 09:40:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Jul 2004 09:40:09 -0000 Received: (qmail 44463 invoked by uid 500); 5 Jul 2004 09:40:10 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 44358 invoked by uid 500); 5 Jul 2004 09:40:08 -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: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 44331 invoked by uid 99); 5 Jul 2004 09:40:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.132.96.45] (HELO skutsje.san.webweaving.org) (209.132.96.45) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 05 Jul 2004 02:40:07 -0700 Received: from skutsje.san.webweaving.org (localhost [127.0.0.1]) by skutsje.san.webweaving.org (8.12.9/8.12.9) with ESMTP id i659Tt7M032880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Jul 2004 02:29:55 -0700 (PDT) (envelope-from dirkx@webweaving.org) Received: from localhost (dirkx@localhost) by skutsje.san.webweaving.org (8.12.9/8.12.9/Submit) with ESMTP id i659TtAX032877 for ; Mon, 5 Jul 2004 02:29:55 -0700 (PDT) (envelope-from dirkx@webweaving.org) X-Authentication-Warning: skutsje.san.webweaving.org: dirkx owned process doing -bs Date: Mon, 5 Jul 2004 02:29:55 -0700 (PDT) From: Dirk-Willem van Gulik X-X-Sender: dirkx@skutsje.san.webweaving.org To: dev@httpd.apache.org Subject: Re: PROPOSAL: Enhance mod_headers as a debug/test tool In-Reply-To: Message-ID: <20040705022525.M31432@skutsje.san.webweaving.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Sun, 4 Jul 2004, Nick Kew wrote: > very easily, with the Header and (especially) RequestHeader directives. > But that's in a fixups hook, so it's no use for any hooks running in ... > Header and RequestHeader directives. Headers marked as DEBUG will > be set in post_read_request, so they are available to other modules. > Without DEBUG, it will default to current (fixups) behaviour. +1 for something like this - as I've had to manually hack things like this in more than once to wack something like a broken Oracle/Orian SSO back in line. However please make it general and either add it as a second directive or have something like Header [ inbound | outbound ] header value ErrorHeader .. where the default is outbound. If you are really going to do this - I'd love to also have added: RequestHeader [ inbound | outbound ] header value so I can muck around with the request to fool some php/java backend to which I do not have sufficient access to hack it in there (say because it is some broken commercial product). Dw.