#!/bin/sh -x printf "Content-type: text/plain\n\n" exec 2>&1 /path/to/your/CGI/script