#! /bin/bash # # My cheap emulation of a doubleclick tracking system # # load /usr/lib/tclx8.4/libtclx8.4.so # set url "http://www.gagme.com/~greg/" url=$QUERY_STRING echo "Content-Type: text/html" echo "Location: $url" echo "" cat << EOF 301 Moved Permanently} "

Moved Permanently

The document has moved here.

EOF