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..

mod_macro or mod_define look like they might be useful to you:

http://www.cri.ensmp.fr/~coelho/mod_macro/
http://www.lpi.msk.su/mod/mod_define.html


cheers, dave

Reply via email to