Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 4848 invoked from network); 20 Oct 2006 17:02:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 17:02:30 -0000 Received: (qmail 58023 invoked by uid 500); 20 Oct 2006 17:02:29 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 58002 invoked by uid 500); 20 Oct 2006 17:02:29 -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 57985 invoked by uid 99); 20 Oct 2006 17:02:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 10:02:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.229.52.226] (HELO asgard.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 10:02:27 -0700 Received: from asgard (asgard [192.168.1.2]) by asgard.webthing.com (Postfix) with ESMTP id B5F2B645EE for ; Fri, 20 Oct 2006 18:02:05 +0100 (BST) From: Nick Kew Organization: WebThing Ltd To: modules-dev@httpd.apache.org Subject: Re: Question about ap_get_module_config Date: Fri, 20 Oct 2006 18:02:03 +0100 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610201802.05181.nick@webthing.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Friday 20 October 2006 17:30, m.spinetti@pisa.iol.it wrote: > Hi all, > I have a question about ap_get_module_config. That serves two purposes, and I think you're confusing them. For your server configuration, you'll use it with r->per_dir_config or s->module_config. Those should generally be treated as read-only when processing a request. For per-request data, you use it with r->request_config. See my .sig for more. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/