News for hackers. Stuff that matters.
Re:OpenBSD's httpd gets URL rewrite by JdeBP on Thursday May 31, 2018 @06:33AM (#17195297)
I use Bernstein publicfile myself. Not only is it likewise a simple static content HTTP(S) server, but the rewrites in the OpenBSD patch doco here are standard functionality (and have been all along, for the past nigh on two decades) in publicfile. The second rewrite rule, incorporating the virtual host name into the pathname, is actually the default behaviour of publicfile; and the first rewrite rule, making de an alias for ch, is done with a symbolic link in the filesystem in publicfile.

* http://jdebp.info./Softwares/djbwares/guide/httpd.html

* http://jdebp.info./Softwares/djbwares/

* http://cr.yp.to/publicfile.html

Re:OpenBSD's httpd gets URL rewrite by jeffreyrogers on Thursday May 31, 2018 @10:44AM (#17196668)
I think I looked at this before. I like a lot of djb's stuff. It doesn't support TLS though, right? So you'd have to put nginx or something in front if you wanted that?
Re:OpenBSD's httpd gets URL rewrite by JdeBP on Thursday May 31, 2018 @10:58AM (#17196776)
These are UCSPI tools. To encrypt their traffic over the network, one simply runs them via a UCSPI-SSL toolset instead of running them via a UCSPI-TCP toolset.

* http://jdebp.info./FGA/UCSPI.html

The sharp-eyed, who have compared that manual with the Bernstein original, will have noted that mentioning UCSPI-SSL is one of the very doco modernizations that I did. (-: