aboutsummaryrefslogtreecommitdiff
path: root/sample-cgi-handler.sh
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-12-17 15:31:03 +0000
committerJulio Capote <jcapote@gmail.com>2022-12-17 15:31:03 +0000
commitd3fb280a146759ca1468c1773f41599b4fabb5fa (patch)
tree931e475e12baf1aecd76d8fab80c10b4b3d3c83d /sample-cgi-handler.sh
downloadcommunique-d3fb280a146759ca1468c1773f41599b4fabb5fa.tar.gz
initial
Diffstat (limited to 'sample-cgi-handler.sh')
-rwxr-xr-xsample-cgi-handler.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/sample-cgi-handler.sh b/sample-cgi-handler.sh
new file mode 100755
index 0000000..55da4a0
--- /dev/null
+++ b/sample-cgi-handler.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+echo "Content-type: text/html"
+echo ""
+echo '<html><body>'
+echo 'Hello From Bash <br/>Environment:'
+echo '<pre>'
+/usr/bin/env
+echo '</pre>'
+echo '</body></html>'
+exit 0