httpd
and slowcgi
are our main tools here
We will need to listen for http connections and redirect them to slowcgi
httpd
is chrooted, C
must be statically compiled and dependencies vendored
Example: cc -static -g -W -Wall -Wextra -o sse-example-c sse-example.c
Example httpd.conf
server "localhost" { listen on * port 8083 location "/htdocs/openbsd-datastar/*" { root "/htdocs/openbsd-datastar/" } location "/cgi-bin/*" { fastcgi root "/" } }