[small example CGI scripts webserver@henning-thielemann.de**20090205185749] { adddir ./public_html addfile ./public_html/html.cgi hunk ./public_html/html.cgi 1 +#! /bin/bash +echo Content-Type: text/html +echo +echo '' +echo '' +echo 'Hello World' +echo '' +echo '' +echo '' +echo '' +echo '' addfile ./public_html/text.cgi hunk ./public_html/text.cgi 1 +#! /bin/bash +echo Content-Type: text/plain +echo +echo Hello World +date +echo Query: $QUERY_STRING }