test here's the value of $QUERY_STRING and here's the rest of the defined vals WATCHDOG_PID=2955912 GATEWAY_INTERFACE=CGI/1.1 SERVER_DESCRIPTION= HTTP_ACCEPT_CHARSET=UTF-8 WATCHDOG_USEC=5000000 REMOTE_ADDR=185.39.222.143 QUERY_STRING= SESSION_ID=1dd0a9b1 LOCAL_ADDR=198.50.210.248 DOCUMENT_ROOT=/var/gopher/tilde.team SERVER_CODENAME=Dungeon Edition NOTIFY_SOCKET=/run/systemd/notify SYSTEMD_EXEC_PID=2955912 CONTENT_LENGTH=0 SCRIPT_FILENAME=env JOURNAL_STREAM=8:1845669113 inetd_dummy=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx SERVER_SOFTWARE=Gophernicus/3.0.1 (Ubuntu/22.04 x86_64) COLUMNS=76 SEARCHREQUEST= PATH=/usr/bin:/bin INVOCATION_ID=fdbbe4ccee9f4b6e9dd6ca551afb78db SERVER_TLS_PORT=0 GOPHER_CHARSET=UTF-8 HTTP_REFERER=gopher://tilde.team:70/1/~irieldescent/ GOPHER_REFERER=gopher://tilde.team:70/1/~irieldescent/ LANG=en_US.UTF-8 SERVER_PROTOCOL=RFC1436 SERVER_VERSION=Gophernicus/3.0.1 SELECTOR=/~ben/test/ SERVER_HOST=tilde.team REQUEST_METHOD=GET GOPHER_FILETYPE=1 REQUEST=/~ben/test/ PWD=/home/ben/public_gopher/test SERVER_ARCH=Ubuntu/22.04 x86_64 SERVER_PORT=70 SCRIPT_NAME=/~ben/test/ SERVER_NAME=tilde.team DIR .. DIR subdir 2020-May-27 18:31 - DIR toher 2020-May-27 18:31 - ____________________________________________________________________________ Gophered by Gophernicus/3.0.1 on Ubuntu/22.04 x86_64