Gophernicus CGI Support:
========================

note: script run as '../gophernicus_cgi.sh?fubar' to display search/query values.

CGI/1.1 Request Meta-Variables:
-------------------------------
AUTH_TYPE:           
CONTENT_LENGTH:      0
CONTENT_TYPE:        
GATEWAY_INTERFACE:   CGI/1.1
PATH_INFO:           
PATH_TRANSLATED:     
QUERY_STRING:        fubar
REMOTE_ADDR:         37.27.81.150
REMOTE_HOST:         
REMOTE_IDENT:        
REMOTE_USER:         
REQUEST_METHOD:      GET
SCRIPT_NAME:         /users/tdc/cgi-bin/gophernicus_cgi.sh
SERVER_NAME:         sdf.org
SERVER_PORT:         70
SERVER_PROTOCOL:     RFC1436
SERVER_SOFTWARE:     Gophernicus/3.1.1
(NetBSD/amd64        9.3)

CGI/1.1 Non-std Meta-Variables:
-------------------------------
COLUMNS:              67
DOCUMENT_ROOT:        /ftp/pub
GOPHER_CHARSET:       UTF-8
GOPHER_FILETYPE:      0
GOPHER_REFERER:       gopher://sdf.org:70/0/users/sanjuro/indian-food/apricot-cornmeal-upside-down-cake.txt
HTTPS:                
HTTP_ACCEPT_CHARSET:  UTF-8
HTTP_REFERER:         gopher://sdf.org:70/0/users/sanjuro/indian-food/apricot-cornmeal-upside-down-cake.txt
LOCAL_ADDR:           205.166.94.16
PATH:                 /usr/bin:/bin
REQUEST:              /users/tdc/cgi-bin/gophernicus_cgi.sh
SCRIPT_FILENAME:      /ftp/pub/users/tdc/cgi-bin/gophernicus_cgi.sh
SEARCHREQUEST:        fubar
SERVER_ARCH:          NetBSD/amd64
9.3                   
SERVER_CODENAME:      Dungeon
Edition               
SERVER_DESCRIPTION:   
SERVER_TLS_PORT:      0
SERVER_VERSION:       Gophernicus/3.1.1
SESSION_ID:           2002a2d1
TLS:                  

CGI/1.1 Self-Defined Protocol-Variables:
----------------------------------------
GOPHER_TYPE=7
GOPHER_TYPE:         7
GOPHER_TYPE-UP:      7-UP

ref: http://www.faqs.org/rfcs/rfc3875.html