X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=etc%2Fcgi.sh;h=e8efe63674f06fa2ef3ba29922a0f5353b900913;hb=a1e5630de9f16cf2a01b10b75cd791a7ad195f98;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