From d10036292a5dd892566c96328ddca5ebd62ed846 Mon Sep 17 00:00:00 2001 From: stanleylieber Date: Fri, 12 Jun 2020 20:52:27 -0400 Subject: [PATCH] bin/contrib/rc-httpd/select-handler: clarify comments; add rules for maintainer test apparatus. --- bin/contrib/rc-httpd/select-handler | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/contrib/rc-httpd/select-handler b/bin/contrib/rc-httpd/select-handler index 856fb07..ec819d4 100755 --- a/bin/contrib/rc-httpd/select-handler +++ b/bin/contrib/rc-httpd/select-handler @@ -2,7 +2,15 @@ rfork n # Route requests to werc. -# Change the werc path to match your system. +# 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