Gemini and CGI hosting

Sean Conner sean at conman.org
Sat May 23 22:09:01 BST 2020


It was thus said that the Great tiwesdaeg at tilde.pink once stated:
> Luke,
> 
> I'm looking in to this on tilde.pink. So far, the only way I could get a 
> cgi script located in a user directory to work was to create a symbolic 
> link directly to /var/gemini/cgi-bin/. So far, no one has implemented a 
> server that acts like gophernicus or geomyidae, allowing for scripts to be 
> run from any served directory.

  Ahem.

  GLV-1.12556 will run a CGI script from any directory.

  This is accomplished by treating any file with execute permissions as a
CGI script.  If CGI is NOT enabled, then any reference to a script with
executable permissions returns a "Temporary Error" (40).

> I don't know how this is handled by webservers that support ~user 
> accounts.

  I handle it the same as above---any file that has execute permissions is
treated as a CGI script.

  -spc



More information about the Gemini mailing list