💾 Archived View for rawtext.club › ~sloum › geminilist › 001002.gmi captured on 2020-11-07 at 01:54:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

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 aCGI script. If CGI is NOT enabled, then any reference to a script withexecutable 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 istreated as a CGI script.

-spc