vger/tests/var/gemini/cgi-bin/test.cgi

10 lines
155 B
Text
Raw Normal View History

#!/bin/sh
2021-01-14 23:49:46 +11:00
printf "%s %s: cgi_test\r\n" "20 text/plain"
echo "env vars:"
echo $GATEWAY_INTERFACE
echo $SERVER_SOFTWARE
echo $PATH_INFO
echo $QUERY_STRING