SMOLNET PORTAL home about changes
Geomyidae Scripts Scraps Examples
Here I will put some information about how to create cgi scripts for gopher
with the geomyidae server.
A lot of information for this is in the manual of the server:
The First Example is the Hello Word example:
in your gopherroot folder create a file "HelloWorld.cgi":
#!/bin/sh
echo "Hello Gopher World"
Place in your index.gph a "0" reference to your HelloWorld.cgi
And check it out Tadaaa :-)
You first script is a success
Response: application/gopher-menu
Original URLgopher://thinkerwim.org/1/gopher_scripts/index.gph
Content-Typeapplication/gopher-menu; charset=utf-8