iAdd new CGI environment to manpage. - geomyidae - A small C-based gopherd. Err bitreich.org 70 hgit clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ URL:git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ bitreich.org 70 1Log /scm/geomyidae/log.gph bitreich.org 70 1Files /scm/geomyidae/files.gph bitreich.org 70 1Refs /scm/geomyidae/refs.gph bitreich.org 70 1Tags /scm/geomyidae/tag bitreich.org 70 1README /scm/geomyidae/file/README.gph bitreich.org 70 1LICENSE /scm/geomyidae/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 1b2b79b5a0257b116c77981f0b9d640e1802728c /scm/geomyidae/commit/1b2b79b5a0257b116c77981f0b9d640e1802728c.gph bitreich.org 70 1parent 204334bcd5b557e42bafc47502016d7f0f71ca91 /scm/geomyidae/commit/204334bcd5b557e42bafc47502016d7f0f71ca91.gph bitreich.org 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70 iDate: Fri, 26 Jan 2018 14:20:28 +0100 Err bitreich.org 70 i Err bitreich.org 70 iAdd new CGI environment to manpage. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M geomyidae.8 | 17 +++++++++++++++++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 17 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/geomyidae.8 b/geomyidae.8 /scm/geomyidae/file/geomyidae.8.gph bitreich.org 70 i@@ -327,6 +327,23 @@ where Err bitreich.org 70 i All terms are tab-separated (per gopher protocol) which can cause some Err bitreich.org 70 i surprises depending on how a script is written. See the CGI file (included Err bitreich.org 70 i in the geomyidae source archive) for further elaboration. Err bitreich.org 70 i+.Pp Err bitreich.org 70 i+Additionally to the above arguments several environment variables are set. Err bitreich.org 70 i+.Pp Err bitreich.org 70 i+.Dl GATEWAY_INTERFACE = `CGI/1.1' Err bitreich.org 70 i+.Dl PATH_INFO = script which is executed Err bitreich.org 70 i+.Dl PATH_TRANSLATED = absolute path with script which is executed Err bitreich.org 70 i+.Dl QUERY_STRING = arguments (See above.) Err bitreich.org 70 i+.Dl REMOTE_ADDR = IP of the client Err bitreich.org 70 i+.Dl REMOTE_HOST = REMOTE_ADDR Err bitreich.org 70 i+.Dl REQUEST_METHOD = GET Err bitreich.org 70 i+.Dl SCRIPT_NAME = script which is executed Err bitreich.org 70 i+.Dl SERVER_NAME = server's hostname Err bitreich.org 70 i+.Dl SERVER_PORT = server's port Err bitreich.org 70 i+.Dl SERVER_PROTOCOL = `gopher/1.0' Err bitreich.org 70 i+.Dl SERVER_SOFTWARE = `geomyidae' Err bitreich.org 70 i+.Dl X_GOPHER_SEARCH = search (See above.) Err bitreich.org 70 i+.Pp Err bitreich.org 70 i . Err bitreich.org 70 i .Ss Some CGI Examples Err bitreich.org 70 i Note: these are a very simple examples with no fitness checks with respect Err bitreich.org 70 .