4 ms·
Do you have (or can you add) configuration instructions for OpenBSD and its built-in httpd?
by NonEUCitizen 5y ago
Do you have (or can you add) configuration instructions for OpenBSD and its built-in httpd?
- hales 5y agoSorry 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.