From 246edb25ca3208e103a9d3442fcb31412f00fb6b Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sun, 21 Feb 2021 17:59:05 +0100 Subject: [PATCH] Add example cgi-script --- cgi-bin/envtest.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 cgi-bin/envtest.sh diff --git a/cgi-bin/envtest.sh b/cgi-bin/envtest.sh new file mode 100755 index 0000000..2ae64d6 --- /dev/null +++ b/cgi-bin/envtest.sh @@ -0,0 +1,15 @@ +#!/bin/sh +echo GATEWAY_INTERFACE: $GATEWAY_INTERFACE +echo GEMINI_DOCUMENT_ROOT: $GEMINI_DOCUMENT_ROOT +echo GEMINI_URL: $GEMINI_URL +echo GEMINI_URL_PATH: $GEMINI_URL_PATH +echo PATH_INFO: $PATH_INFO +echo PATH_TRANSLATED: $PATH_TRANSLATED +echo QUERY_STRING: $QUERY_STRING +echo REMOTE_ADDR: $REMOTE_ADDR +echo REMOTE_HOST: $REMOTE_HOST +echo SERVER_NAME: $SERVER_NAME +echo SERVER_PORT: $SERVER_PORT +echo SERVER_PROTOCOL: $SERVER_PROTOCOL +echo SERVER_SOFTWARE: $SERVER_SOFTWARE +exit 0