diff options
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 |