slightly OT - defining variables in httpd.conf for use in httpd.conf

[prev] [thread] [next] [Date index for 2005/04/07]

From: Martin Moss
Subject: slightly OT - defining variables in httpd.conf for use in httpd.conf
Date: 12:42 on 07 Apr 2005
All,

I know I've seen this done before, but I'd like to
define a variable at the top of my httpd.conf file,
and then use it many times throughout the conf file...

e.g. 

define Server='fred'

DocumentRoot /usr/local/${server}

I just can't find any info on this... Can anybopdy
point me at the right place..

All I find in google is how to use PerlSetVar, which
isn't what I'm trying to do...

Regards

Marty

Send instant messages to your online friends http://uk.messenger.yahoo.com 

slightly OT - defining variables in httpd.conf for use in httpd.conf
Martin Moss 12:42 on 07 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52