Introduction
Introduction Statistics Contact Development Disclaimer Help
Adapt manpage to new CGI variables. - geomyidae - a small C-based gopherd (mirr…
git clone git://git.codemadness.org/geomyidae
Log
Files
Refs
README
LICENSE
---
commit 3e1a3e671254eefed589a14639e14d15af42249f
parent 1fe0e4e9026fac8fad295deec2b580e611372a29
Author: Christoph Lohmann <[email protected]>
Date: Sun, 15 Jun 2025 07:47:30 +0200
Adapt manpage to new CGI variables.
The manpage is shortened and for complex topics we reference the source.
Diffstat:
M geomyidae.8 | 33 +++++++++++++----------------…
1 file changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/geomyidae.8 b/geomyidae.8
@@ -497,41 +497,36 @@ The designers of gopher+ did not think of classic gopher …
It survived gopher+.
.Pp
Additionally to the above arguments several environment variables are set.
-.Bl -tag -width "SERVER_LISTEN_NAME" -compact
-.It Ev GATEWAY_INTERFACE
-.Qq Cm CGI/1.1
+Only the programmatically relevant variables are listed here.
+For further information, see ind.c:setcgienviron() in the geomyidae
+source code.
+.Bl -tag -width "REMOTE_ADDR , REMOTE_HOST" -compact
.It Ev PATH_INFO
Traversal (See above.)
.It Ev PATH_TRANSLATED
Absolute path to script.
.It Ev QUERY_STRING
Arguments (See above.)
-.It Ev SELECTOR
-Raw selector
-.It Ev REQUEST
-Raw selector
.It Ev REMOTE_ADDR , REMOTE_HOST
IP of the client
-.It Ev REQUEST_METHOD
-.Qq Cm GET
.It Ev SCRIPT_NAME
Script which is executed.
-.It Ev SCRIPT_FILENAME
-Absolute path with script which is executed.
.It Ev SERVER_NAME
Server's hostname.
.It Ev SERVER_PORT
Server's port.
+.It Ev GOPHER_SELECTOR
+Raw gopher selector
+.It Ev GOPHER_REQUEST
+Raw gopher selector
+.It Ev GOPHER_SEARCH
+Search (See above.)
+.It Ev GOPHER_SCRIPT_FILENAME
+Absolute path with script which is executed.
+.It Ev GOPHER_DOCUMENT_ROOT
+Base root for serving files.
.It Ev SERVER_LISTEN_NAME
Ip the server received the connection on.
-.It Ev SERVER_PROTOCOL
-.Qq Cm gopher/1.0
-.It Ev SERVER_SOFTWARE
-.Qq Cm geomyidae
-.It Ev X_GOPHER_SEARCH
-Search (See above.)
-.It Ev SEARCHREQUEST
-Search (For backwards compatibility.)
.It Ev HTTPS , GOPHERS
Set, if TLS is used.
.El
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.