Hiawatha fails with a fairly cryptic error message if a trailing slash is used in the WebsiteRoot option of a VirtualHost block.
WebsiteRoot = /home/hg/
[/usr/local/etc/hiawatha]# ../rc.d/hiawatha restart
Stopping hiawatha.
Waiting for PIDS: 94412.
Starting hiawatha.
Syntax error in hiawatha.conf on line 213.
/usr/local/etc/rc.d/hiawatha: WARNING: failed to start hiawatha
Exit 1
What's worse, wigwam reports there are no errors!
[/usr/local/etc/hiawatha]# wigwam -c /usr/local/etc/hiawatha/
Using /usr/local/etc/hiawatha/
Reading hiawatha.conf
No non-fatal errors found in the Hiawatha configuration.
After removing the offending slash hiawatha starts as normal...
[/usr/local/etc/hiawatha]# hiawatha -v
Hiawatha v7.8.2, cache, CommandChannel, IPv6, Monitor, SSL, URL toolkit, XSLT
Copyright (C) by Hugo Leisink <hugo@leisink.net>