You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rainer Scherg <Ra...@rexroth.de> on 1998/12/10 17:02:52 UTC
config/3520: Variable in Configuration
>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 <ap...@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! ]