ref: aaeb28aa8e5cf5a9fb58b4525d724ad4661f5abd
dir: /iphttpd.ms/
To set up httpd.ms, you will want to add this line in /cfg/$sysname/cpurc: ip/httpd/httpd -d $sysname -n /cfg/$sysname/namespace.httpd -w /usr/web/$sysname/ Replace $sysname with your actual hostname. You will then need to create the directories in /usr/web/$sysname/: cpu% mkdir -p /usr/web/$sysname/ Define the namespace for ip/httpd, consulting /lib/namespace.httpd as a template. Here is a sample namespace for /cfg/$sysname/namespace.httpd: cpu% cat /cfg/breadofgod.org/namespace.httpd bind /sys/doc /usr/web/sys/doc bind /usr/$user/www/$sysname /usr/web/$sysname Replace $user and $sysname. If you want to support TLS, make sure to first request a certificate with acmed. Then, add this line to /cfg/$sysname/cpurc: ip/httpd/httpd -c /sys/lib/tls/acmed/$sysname.crt -C /sys/lib/tls/acmed/$sysname.crt -d $sysname -n /cfg/$sysname/namespace.httpd -w /usr/web/$sysname/