Hostnames for VirtualHost spread over several lines

9 May 2009, 00:51

I would like to spread the "Hostname"-Parameter of the VHosts over several lines for the overview.

Would that be possible? I found that I have to write all hostnames in one line, this is a very long line if you have 20-Domains and more redireting to the same webroot.

Would be cool if you could find a way to make this possible.

Hugo Leisink
9 May 2009, 01:22
It is already possible. End a line with a backslash and Hiawatha will continue to read on the next line. Make sure the backslash is the last character on that line.
VirtualHost {
Hostname =,, \,
WebsiteRoot = /var/www
9 May 2009, 17:41
Cool, thanks.
This topic has been closed.