httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oto BREZINA <o...@printflow.eu>
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?
-- 
Oto BREZINA

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message