summaryrefslogtreecommitdiff
path: root/bin/contrib/rc-httpd/handlers/static-or-cgi
diff options
context:
space:
mode:
Diffstat (limited to 'bin/contrib/rc-httpd/handlers/static-or-cgi')
-rwxr-xr-xbin/contrib/rc-httpd/handlers/static-or-cgi14
1 files changed, 0 insertions, 14 deletions
diff --git a/bin/contrib/rc-httpd/handlers/static-or-cgi b/bin/contrib/rc-httpd/handlers/static-or-cgi
deleted file mode 100755
index 4d8a2d4..0000000
--- a/bin/contrib/rc-httpd/handlers/static-or-cgi
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/rc
-cgiargs=$*
-
-fn error{
- if(~ $1 404)
- exec cgi $cgiargs
- if not
- $rc_httpd_dir/handlers/error $1
-}
-
-if(~ $location */)
- exec cgi $cgiargs
-if not
- exec serve-static