aboutsummaryrefslogtreecommitdiff
path: root/sample-cgi-handler.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsample-cgi-handler.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/sample-cgi-handler.sh b/sample-cgi-handler.sh
index 55da4a0..afd4ada 100755
--- a/sample-cgi-handler.sh
+++ b/sample-cgi-handler.sh
@@ -1,10 +1,5 @@
#!/bin/bash
-echo "Content-type: text/html"
+echo "Content-type: text/plain"
echo ""
-echo '<html><body>'
-echo 'Hello From Bash <br/>Environment:'
-echo '<pre>'
-/usr/bin/env
-echo '</pre>'
-echo '</body></html>'
+echo "This is a random value from bash: $RANDOM on $(date)"
exit 0