Apache Server configuration support - Using variables in config files?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2004 > Using variables in config files?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Using variables in config files?
Peter Holm

2004-04-22, 9:34 pm

Hi,

is it possible to use some kind of variables in apache config files
(1.3)?

I would like to define something like

$user=user1
$dir =/home/dir

and use these in one generic configfile.

A quite interesting alternative to this is mod_vhost_alias, but I
donīt know how logfiles and other directives could be used with the
values defined by that module... maybe somebody has a nice setup with
VirtualDocumentRoot and split logfiles to different directories?

THANKS!!!

Peter


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com