diff options
author | Julio Capote <jcapote@gmail.com> | 2022-12-17 15:31:03 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-12-17 15:31:03 +0000 |
commit | d3fb280a146759ca1468c1773f41599b4fabb5fa (patch) | |
tree | 931e475e12baf1aecd76d8fab80c10b4b3d3c83d /sample-cgi-handler.sh | |
download | communique-d3fb280a146759ca1468c1773f41599b4fabb5fa.tar.gz |
initial
Diffstat (limited to 'sample-cgi-handler.sh')
-rwxr-xr-x | sample-cgi-handler.sh | 10 |
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 |