Thanks for your feedback. It is indeed a bug in Hiawatha, although you also have an error in your configurationfile.
To fix the problem, change the lines
if ((config->fcgi_server->fcgi_id != NULL) && (config->fcgi_server->connect_to->port != 0)) {
current_fcgi_server = NULL;
} else {
fprintf(stderr, "A FastCGIid and/or ConnectTo is missing in a FastCGIserver section in %s.\n", configfile);
retval = -1;
}
in serverconfig.c into
if ((config->fcgi_server->fcgi_id != NULL) && (config->fcgi_server->connect_to != NULL) && (config->fcgi_server->extension.size > 0)) {
current_fcgi_server = NULL;
} else {
fprintf(stderr, "A FastCGIid, Extension or ConnectTo is missing in a FastCGIserver section in %s.\n", configfile);
retval = -1;
}
About your configurationfile: the FastCGIserver section is incomplete. You are missing the Extension and ConnectTo options.
Hostname = 192.168.9.1
WebsiteRoot = /var/www-docroot
Binding {
Port = 80
}
FastCGIserver {
FastCGIid = Test
Extension = <file extension>
ConnectTo = <ip-address>:<port>
}