3 ms·
Sorry I've never used OpenBSD. It looks like OpenBSD's httpd does not support CGI, instead it only does FastCGI: https://man.openbsd.org/httpd.8 https://man.o
by hales 4y ago
Sorry I've never used OpenBSD.
It looks like OpenBSD's httpd does not support CGI, instead it only does FastCGI:
https://man.openbsd.org/httpd.8 https://man.openbsd.org/httpd.8
You then have to use a wrapper to convert FastCGI into CGI:
https://man.openbsd.org/slowcgi.8 https://man.openbsd.org/slowcgi.8
I wouldn't bother with all of this. Use a http server that has your back from the start, don't layer more protocols and add daemons where you don't have to
https://halestrom.net/darksleep/blog/046_cgi/ https://halestrom.net/darksleep/blog/046_cgi/
I wonder: if CGI isn't enough for a project then wouldn't it be better to talk HTTP natively yourself and go through a HTTP<->HTTPS proxy rather than talking FCGI yourself and going through a FCGI<->HTTPS proxy? I'm not sure, I have not tested both routes, CGI is more than enough for my uses.