X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=etc%2Fcgi.sh;h=e8efe63674f06fa2ef3ba29922a0f5353b900913;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=2e1e17c6a8552e9ceac95c75b1a962c1e53bb8f5;hpb=39fe3f90ff2cf99ec39053df3c0835ab87b0deba;p=metaproxy-moved-to-github.git diff --git a/etc/cgi.sh b/etc/cgi.sh index 2e1e17c..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 1