Using HostName like ENVVAR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux