Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 87792 invoked from network); 28 Sep 2006 21:00:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 21:00:10 -0000 Received: (qmail 12929 invoked by uid 500); 28 Sep 2006 21:00:02 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 12917 invoked by uid 500); 28 Sep 2006 21:00:02 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 12906 invoked by uid 99); 28 Sep 2006 21:00:02 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 14:00:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [81.33.11.59] ([81.33.11.59:62524] helo=strange.daemonsecurity.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 0B/B0-00212-0D73C154 for ; Thu, 28 Sep 2006 14:00:02 -0700 Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id 3A13D2E024; Thu, 28 Sep 2006 22:59:57 +0200 (CEST) Message-ID: <451C3787.4070303@locolomo.org> Date: Thu, 28 Sep 2006 22:58:47 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: "Philip M. Gollucci" CC: modperl@perl.apache.org Subject: Re: Reading custom configuration parameters References: <451C32DF.6070201@locolomo.org> <451C34FA.5030902@p6m7g8.com> In-Reply-To: <451C34FA.5030902@p6m7g8.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Philip M. Gollucci wrote: > Erik Norgaard wrote: >> Hi: >> >> I have successfully created a module that declares some configuration >> parameters which should be available to the handler: dbDriver, dbHost, >> dbName, dbUser and dbPassword. Or so I think, I followed this guide: >> >> http://perl.apache.org/docs/2.0/user/config/custom.html > This section of it doesn't answer that for you ? > http://perl.apache.org/docs/2.0/user/config/custom.html#toc_Directive_Callback_Subroutine > > The simple answer is try it :) The yet simpler ? :) Well, what confuses me is the merging example in the end of the text. Anyway, the text you refer to tells how I can get global/serverwide parameters, but I don't see any mention of whether or not parameters defined for a different virtual host is possible. I prefer not for security. Thanks again, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9