X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=etc%2Fcgi.sh;h=e8efe63674f06fa2ef3ba29922a0f5353b900913;hb=e3b7970c1a533e4c14aa459f80ab002af4fdabf3;hp=2fbc75e73b6747852793cdc5bad1dfe1a5ac0035;hpb=74d16c70e558c6b5fb0ff5b057a047d4da6d5a66;p=metaproxy-moved-to-github.git diff --git a/etc/cgi.sh b/etc/cgi.sh index 2fbc75e..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 5