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 40CBCDAF9 for ; Thu, 23 May 2013 14:59:31 +0000 (UTC) Received: (qmail 72790 invoked by uid 500); 23 May 2013 14:59:31 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 72503 invoked by uid 500); 23 May 2013 14:59:30 -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 72483 invoked by uid 99); 23 May 2013 14:59:29 -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 14:59:29 +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 14:59:24 +0000 Received: by mail-ve0-f175.google.com with SMTP id cz11so2446136veb.6 for ; Thu, 23 May 2013 07:59:04 -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=g3HEKKwC8YCquOcdWR/P6RLHxuHseD/Lt5s3VxIAw9Q=; b=MaQlnVSFVTrIO7LPEDZv2dsoYKLaGD/qvr9Ejk/XuU48Ir6I7soi1q6nlzKZVXhPkX 9Zsj44jk0X2AWs2AQM1WnuZWWXi/Xp51OcjNzpbSK5tpYGZ4ZLGtFaXVkbsEKesiZVl1 XvRW8j6arb7GsztZ8LM4f+9UEnBRdy3IjodzyhPtxRfDYRng7RYoBCrb0aAEJtBo7sz0 1DJNnUU/tB5jzpUPntxN0i+mo/9ZuM/BSQdrfMZSIpmzV1E8w+ixI0ZdogHgsqO8jzQZ ztvwjAEUbUi7u0iU9RmJCa2RTvTUzxYvx2be8LfBsK9W2yjJ+v8Qlogu42LxH2pEgdTL Jdyg== MIME-Version: 1.0 X-Received: by 10.52.18.175 with SMTP id x15mr1356851vdd.113.1369321143942; Thu, 23 May 2013 07:59:03 -0700 (PDT) Received: by 10.58.209.229 with HTTP; Thu, 23 May 2013 07:59:03 -0700 (PDT) In-Reply-To: References: <519BD9D1.3010907@gmail.com> <519C7674.6080703@gmail.com> Date: Thu, 23 May 2013 10:59:03 -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 10:39 AM, Sean Beck wrote: > OK thank you! I ask because my boss wants me to log the config file info on > start-up of the server but I have been completely unable to find a way to > do so, hence why I came to the mailing lists for help. Thanks for the help You can get info about where any of your own directives are specified. The VirtualHost directive remembers where it was found: s->defn_name = cmd->directive->filename; s->defn_line_number = cmd->directive->line_num;