Received: (qmail 22119 invoked by uid 2012); 10 Dec 1998 16:02:52 -0000 Message-Id: <19981210160252.22118.qmail@hyperreal.org> Date: 10 Dec 1998 16:02:52 -0000 From: Rainer Scherg Reply-To: Rainer.Scherg@rexroth.de To: apbugs@hyperreal.org Subject: Variable in Configuration X-Send-Pr-Version: 3.2 >Number: 3520 >Category: config >Synopsis: Variable in Configuration >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Thu Dec 10 08:10:01 PST 1998 >Last-Modified: Wed Mar 10 02:52:24 PST 1999 >Originator: Rainer.Scherg@rexroth.de >Organization: >Release: 1.3.3 >Environment: Solaris 2.5.1, gcc >Description: It would be nice, if we could use variables in the config files. This request is not an urgent one, but would make the config jobs sometimes a little easier - especially on large sites (many virtual hosts). E.g.: setvar MyServerRoot /webspace/httpd setvar MyMasterDocRoot @@MyServerRoot@@/htdocs [...] DOCUMENT_ROOT @@MyMasterDocRoot@@/www.virtual1.dom ... etc. (I took @@ as variable delimiter, because it's used in the doc) -- Rainer >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: rse State-Changed-When: Wed Mar 10 02:52:24 PST 1999 State-Changed-Why: This is now possible with the help of mod_define. Your "setvar" is named "define" there and "@@xxx@@" can be written as "${xxx}". You can find it inside http://www.apache.org/dist/contrib/modules/1.3/apache-contrib-1.0.3.tar.gz >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]