From 9ad7b6537078612b9e57925e506238ad66fbccb8 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Thu, 11 Jun 2020 21:28:58 -0400 Subject: [PATCH] sites/werc.cat-v.org/docs/web-server-setup/: add cgd.md --- sites/werc.cat-v.org/docs/web-server-setup/cgd.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sites/werc.cat-v.org/docs/web-server-setup/cgd.md diff --git a/sites/werc.cat-v.org/docs/web-server-setup/cgd.md b/sites/werc.cat-v.org/docs/web-server-setup/cgd.md new file mode 100644 index 0000000..fcc185d --- /dev/null +++ b/sites/werc.cat-v.org/docs/web-server-setup/cgd.md @@ -0,0 +1,14 @@ +cgd +=== + +Cgd is a simple daemon written in [go](http://golang.org) that can +serve a CGI script over HTTP or FastCGI. It only needs to know the +location of the Plan 9 (9base, frontbase, or plan9port) binaries, and +the location of the werc installation itself. There is no +configuration file. + +For example, to run werc under cgd on Plan 9: + + PLAN9=/ cgd -c $werc/bin/werc.rc -w $werc/bin + +Download it here: