ref: 3b2dc0a1e993fab45a8158154dadd6670c486b87
dir: /rc-httpd.ms/
cpu% cp (/bin/service/)^(!tcp80 tcp80) cpu% mkdir -p /usr/$USER/www/example.com cpu% echo "Hello, world!" > /usr/$USER/www/example.com/index.html Put this in /rc/bin/rc-httpd/select-handler: if(~ $SERVER_NAME example.com){ PATH_INFO=$location FS_ROOT=/usr/$USER/www/$SERVER_NAME exec static-or-index } cpu% chmod +x /rc/bin/rc-httpd/select-handler