Modified templates to allow an array of virtual-host entries.