Server-side GF applications → Example: the question-answering system

Implementation

A simple CGI wrapper answer.cgi:

#!/bin/bash echo "Content-Type: text/plain" echo "" /usr/local/bin/qparse "$QUERY_STRING" query | ./Answer