The fastcgi.c demo is a daemon that listens to port 2005. Make Hiawatha connect to it and use the FastCGI daemon in a virtual host.
FastCGIserver {
FastCGIid = demo_fcgi
ConnectTo = 127.0.0.1:2005
}
UrlToolkit {
ToolkitID = demo_toolkit
Match ^/demo UseFastCGI demo_fcgi
}
VirtualHost {
...
UseToolkit = demo_toolkit
}
This will make the url /demo connect to the FastCGI demo daemon.