summaryrefslogtreecommitdiff
path: root/bin/contrib/rc-httpd/select-handler
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2024-04-07 13:25:49 +0200
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2024-04-07 13:25:49 +0200
commit9cb56dabb676391a9382731347e8d2b07b9437a5 (patch)
tree95302f041497679202722d9896ec1386bed2d86c /bin/contrib/rc-httpd/select-handler
parent0a37a1cc5909e11098963267edc9654b85e7ce16 (diff)
big cleanup
Diffstat (limited to 'bin/contrib/rc-httpd/select-handler')
-rwxr-xr-xbin/contrib/rc-httpd/select-handler20
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/contrib/rc-httpd/select-handler b/bin/contrib/rc-httpd/select-handler
deleted file mode 100755
index ec819d4..0000000
--- a/bin/contrib/rc-httpd/select-handler
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/rc
-rfork n
-
-# Route requests to werc.
-# Change paths to match your system.
-
-if(~ $SERVER_NAME 9base.werc.cat-v.org)
- PLAN9=/usr/local/9base
-if(~ $SERVER_NAME frontbase.werc.cat-v.org)
- PLAN9=/usr/local/plan9front
-if(~ $SERVER_NAME plan9port.werc.cat-v.org)
- PLAN9=/usr/local/plan9
-
-if(~ $SERVER_NAME *){
- PATH_INFO=$location
- FS_ROOT=/home/sl/www/werc/sites/$SERVER_NAME
- exec static-or-cgi /home/sl/www/werc/bin/werc.rc
-}
-if not
- error 503