www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Scherg <Rainer.Sch...@rexroth.de>
Subject config/3520: Variable in Configuration
Date Thu, 10 Dec 1998 16:02:52 GMT

>Number:         3520
>Category:       config
>Synopsis:       Variable in Configuration
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Thu Dec 10 08:10:01 PST 1998
>Last-Modified:
>Originator:     Rainer.Scherg@rexroth.de
>Organization:
apache
>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

 [...]
 
 <VirtualHost>
   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:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> 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!         ]




Mime
View raw message