Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 24258 invoked from network); 22 Apr 2009 14:42:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 14:42:03 -0000 Received: (qmail 42903 invoked by uid 500); 22 Apr 2009 14:41:59 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 42878 invoked by uid 500); 22 Apr 2009 14:41:59 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 42826 invoked by uid 99); 22 Apr 2009 14:41:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 14:41:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [134.68.171.23] (HELO mhw.ulib.iupui.edu) (134.68.171.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 14:41:48 +0000 Received: from mwood by mhw.ulib.iupui.edu with local (Exim 4.69) (envelope-from ) id 1Lwddf-0001hj-2f for users@httpd.apache.org; Wed, 22 Apr 2009 10:41:27 -0400 Date: Wed, 22 Apr 2009 10:41:27 -0400 From: "Mark H. Wood" To: users@httpd.apache.org Message-ID: <20090422144127.GC19502@IUPUI.Edu> References: <6ed6382b0904200353p47fe16b0w6b20d200546fd77b@mail.gmail.com> <1404e5910904201917u537020a4h9046e24553d4e22d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qtZFehHsKgwS5rPz" Content-Disposition: inline In-Reply-To: <1404e5910904201917u537020a4h9046e24553d4e22d@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] How to define constant in apache configuration? --qtZFehHsKgwS5rPz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 20, 2009 at 10:17:50PM -0400, Eric Covener wrote: > On Mon, Apr 20, 2009 at 9:23 PM, Alfonsas Stonis > wrote: > > I can not find now the definition, but there was some module for > > apache 1.3 (maybe it was third party) that allowed to write define. > > However, I found hard to believe that such basic thing would not be > > supported in apache 2 configuration. There should be some easy way to > > do this. >=20 > mod_macro, or set native environment variables (in bin/envvars > provided by your apache pkg for example) and deref with ${foo}. Would you (or anyone) please point me to the relevant section of the 2.2 documentation for the ${foo} method. I've never seen this mentioned. Clearly I'm not looking in the right place. mod_macro looks nice, but it's more than I need for simple manifest constants. Thanks! --=20 Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu Friends don't let friends publish revisable-form documents. --qtZFehHsKgwS5rPz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAknvLJcACgkQs/NR4JuTKG+9LwCfT8vBzxipex72I+N9lJIXkWey uxsAnAlws8jstUGG3EmQ9Glf4GbOE52a =N9KW -----END PGP SIGNATURE----- --qtZFehHsKgwS5rPz--