#! /bin/sh

# The compiled program will not run if called directly from the server

# echo Content-type: text/html
# echo
# echo "<html><head><title>Something has gone wrong here recently</title></head>"
# echo "<body>"
# echo `date` ${REMOTE_HOST-${REMOTE_ADDR-somewhere}} ${HTTP_USER_AGENT-abrowser} $QUERY_STRING >> ../logs/getplan.log

# echo "<pre>Query: " $QUERY_STRING "</pre>"

# echo "<p>Map follows if it works:</p>"

exec ./getplan

# ./getplan

# echo "<p>That was the map</p>"

# echo "</body></html>"
