X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=etc%2Fcgi.sh;h=e8efe63674f06fa2ef3ba29922a0f5353b900913;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=478152c29ca4a37af0e05d8d39be791b9135ba4c;hpb=324f6dcf90e165c4f8e8b8bfda9ed12b7c5d5582;p=metaproxy-moved-to-github.git diff --git a/etc/cgi.sh b/etc/cgi.sh index 478152c..e8efe63 100755 --- a/etc/cgi.sh +++ b/etc/cgi.sh @@ -1,7 +1,13 @@ -#!/bin/sh +#!/bin/bash echo "Content-Type: text/plain" echo "" +echo "metaproxy/etc/cgi.sh" +pwd +env +if test $CONTENT_LENGTH; then + echo "Echo content of length: $CONTENT_LENGTH:" + read -n $CONTENT_LENGTH c + echo "$c" +fi -echo "hello, world." -sleep 35