werc setup:
consult rc-httpd(8)
unarchive werc into /usr/reed/www/werc
cp /rc/bin/service/!tcp80 /rc/bin/service/tcp80
edit/create /rc/bin/rc-httpd/select-handler
chmod +x /rc/bin/rc-httpd/select-handler
example:
#!/bin/rc
PLAN9=/
if (~ $SERVER_NAME *9front16.sdf.org){
PATH_INFO=$location
FS_ROOT=/usr/reed/www/werc/sites/$SERVER_NAME
exec static-or-cgi /usr/reed/www/werc/bin/werc.rc
}