summaryrefslogtreecommitdiff
path: root/contrib/cgi/nex.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cgi/nex.go')
-rw-r--r--contrib/cgi/nex.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/cgi/nex.go b/contrib/cgi/nex.go
new file mode 100644
index 0000000..60d487d
--- /dev/null
+++ b/contrib/cgi/nex.go
@@ -0,0 +1,10 @@
+package cgi
+
+import (
+ "tildegit.org/tjp/sliderule"
+ "tildegit.org/tjp/sliderule/nex"
+)
+
+func NexCGIDirectory(fsroot, urlroot, cmd string) sliderule.Handler {
+ return cgiDirectory(nex.ServerProtocol, fsroot, urlroot, cmd)
+}