httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oto BREZINA <>
Subject [users@httpd] Using HostName like ENVVAR
Date Fri, 16 Mar 2012 09:23:54 GMT
I have multiple Virtual Host with almost same configuration they differ 
only in ServerName, ServerAdmin DocumentRoot and logfile.
DocumentRoot is composed of served files location and hostname, logs 
have servername in filename too.

To make things easier I moved common some parts into file whitch is 
included from them. I would like to move DocumentRoot and logfiles to 
include too, but I need some way to use something like ${ServerName} to 
be replaced with directive value.
Is there any way to achive this?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message