Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90C9ED3B8 for ; Thu, 23 May 2013 18:07:07 +0000 (UTC) Received: (qmail 1791 invoked by uid 500); 23 May 2013 18:07:07 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 1390 invoked by uid 500); 23 May 2013 18:07:07 -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 1365 invoked by uid 99); 23 May 2013 18:07:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 18:07:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 209.85.128.175 as permitted sender) Received: from [209.85.128.175] (HELO mail-ve0-f175.google.com) (209.85.128.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 18:07:00 +0000 Received: by mail-ve0-f175.google.com with SMTP id cz11so2639057veb.6 for ; Thu, 23 May 2013 11:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=krHMluUcvz/pcwFyvzc9JCvsvfY67Gvmg6PK/6o4IM8=; b=NETrr8zg9FAY+zp9P4QkqRzpbLZlcIK9a0e7va8tTljvop8Z3DTkRT1ikZKUmcDnan DHIYoIQYl5dwCnfMbzEPQjvOqiGdGgwc6Hh9tAeZfURvhzDGROH5ErASMfT4CVPUH2Mb GYubjHyK1thkaLQwZBClQ//nxk/DFlpw/98755Rb644WZ/LG0RyYH7iVT46UIhkkmmVi nv/1XeiaxIGPtfhLVrebvnGVp5R4BheVveQXs7MZWzfXRte3KaioT3ghznyR6EAbRs6F lRxHbZHgyp2PH2IBzYPXe6Sl356IcIswi1hIDXUvx00Bco7BM234vqX6pbJG9SiPFeJC G80A== MIME-Version: 1.0 X-Received: by 10.58.6.141 with SMTP id b13mr6124368vea.45.1369332400293; Thu, 23 May 2013 11:06:40 -0700 (PDT) Received: by 10.58.209.229 with HTTP; Thu, 23 May 2013 11:06:40 -0700 (PDT) In-Reply-To: References: <519BD9D1.3010907@gmail.com> <519C7674.6080703@gmail.com> Date: Thu, 23 May 2013 14:06:40 -0400 Message-ID: Subject: Re: Get name of config file for module From: Eric Covener To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, May 23, 2013 at 1:45 PM, Sean Beck wrote: > What does cmd refer to/can I find it in the request_rec? > > > On Thu, May 23, 2013 at 10:21 AM, Eric Covener wrote: > >> On Thu, May 23, 2013 at 11:44 AM, Sean Beck >> wrote: >> > s is the server_rec? So what you're saying is s->defn_name refers to the >> > .conf the module got its configuration information from? It's labeled in >> > the httpd.h header as "The name of the server" but does that actually >> mean >> > the config file? >> > >> >> Emphasis on the other side of the assignment, which you have access to >> as you handle each directive. >> cmd_parms is passed into each directive your module handles during configuration. Not available in the request rec. -- Eric Covener covener@gmail.com