aboutsummaryrefslogtreecommitdiff
path: root/sample-cgi-handler.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-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