Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 62965 invoked from network); 10 Feb 2007 01:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2007 01:05:38 -0000 Received: (qmail 62974 invoked by uid 500); 10 Feb 2007 01:05:45 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 62789 invoked by uid 500); 10 Feb 2007 01:05:44 -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 62779 invoked by uid 99); 10 Feb 2007 01:05:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 17:05:44 -0800 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of djwortham@gmail.com designates 64.233.162.226 as permitted sender) Received: from [64.233.162.226] (HELO nz-out-0506.google.com) (64.233.162.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 17:05:35 -0800 Received: by nz-out-0506.google.com with SMTP id x7so1005832nzc for ; Fri, 09 Feb 2007 17:05:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MwDn4NAHim1C0KlMfPavvhdvErsASUlEV8BkSTCZo0Ax3okHZ/JslIDyDta43Bip0QPmNhaiZHVC2Ka4a3U/gbQ3lJwGzWcUFrcIprPgPzNaA6wTNkRvA5qA0Y15GuYvfx6wpFtZKCdz1BjfPJYYdsPZGykBXZ46tsLOw88lMwg= Received: by 10.114.161.11 with SMTP id j11mr6410795wae.1171069509737; Fri, 09 Feb 2007 17:05:09 -0800 (PST) Received: by 10.115.88.10 with HTTP; Fri, 9 Feb 2007 17:05:09 -0800 (PST) Message-ID: <5280fae50702091705y6b19a257lac2e6c6bc3fd11ec@mail.gmail.com> Date: Fri, 9 Feb 2007 18:05:09 -0700 From: "David Wortham" To: modules-dev@httpd.apache.org Subject: Re: Merge function not called when I would expect it to In-Reply-To: <5280fae50702091554u7ee544afra455545483e20d39@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23707_23753036.1171069509690" References: <5280fae50702091554u7ee544afra455545483e20d39@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23707_23753036.1171069509690 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I think I was able to answer my own question(s). This link got me curious: http://www.f-m-c.org/projects/apache/html/3_3Extending_Apache.html I read what seemed to say that the merging of directories was done at the beginning of the handling of a request. I re-worked my debug code to output to a logfile rather than STDERR (because STDERR is lost once the child processes are created... and is therefore not useful for debugging after startup). In fact, it appears that dir_cfgs are stored by the parent process (and given to the child processes when those are created). Merging of dir_cfgs appears to happen at the beginning of a response handling. This seems to explain how .htaccess files can be read both at server startup and at the beginning of every request. It appears that my merge function works now. Dave ------=_Part_23707_23753036.1171069509690--