13 ms·
> purely for static files While I do see the need for both small and big servers, this one has support for cgi, and via cgi ssi -- so it's not entirely accurat
by e12e 12y ago
> purely for static files
While I do see the need for both small and big servers, this one has support for cgi, and via cgi ssi -- so it's not entirely accurate to say "purely for static files" (as far as I can tell, there's no easy way to completely remove cgi support via the ./configure script -- I could be wrong).
As others have mentioned, openbsd transitioned to a new httpd based off of relayd. Not sure if/how one might compile that for Linux -- I'm not familiar enough with how openbsd organizes its code. I figured out one could get the relevant source with:
cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/usr.sbin/httpd/
but as far as I can tell, there is no support for any OSs other than openbsd at this time. I'd love to be wrong, but "httpd" (where "httpd" is supposed to be not apache httpd, but new openbsd httpd, which as far as I can tell, is just called, "httpd") isn't very easy to search for...
Anyway, openbsd httpd has support for fast-cgi -- so a truly simple server, would be something like:
http://unix4lyfe.org/darkhttpd/ http://unix4lyfe.org/darkhttpd/