There are two kinds of CGI programs: binaries and scripts. Binaries are normal executables which can be run directly. The CGIextension is used to specify the extension of the CGI binaries. CGI scripts cannot be run directly. They need an interpreter. Perl, PHP and Pythons are such interpreters. Hiawatha runs the interpreter with the script as a parameter. The CGIhandler is used to specify which extension needs which interpreter. For example: CGIhandler: /usr/bin/php-cgi:php tells Hiawatha to handle every request to a .php script by executing /usr/bin/php-cgi with the requested script as a parameter.
You said Quisp has a binary CGI program, so you need to use CGIextension and give the CGI binary an extension. If renaming the binary is a problem (because the binary generates links to itself without the extension), you can use the NoExtension setting or write a UrlToolkit rule to rewrite the URL without the extension to an URL with the extension. The NoExtension setting is described in the manual page, for the UrlToolkit there is even a HOWTO page.
Hiawatha can have a cgi-bin directory. Just use the Directory setting to allow CGI execution in the cgi-bin directory (see manual page).
Most of the things I mentioned are described in the manual pages and HOWTO pages on this website. If you still have any question, just let me know.
1 August 2009, 07:56
Thanks very much for the reply, it works! I used the method of renaming the 'quisp' executable to 'quisp.bin'.