I'm trying to find the most basic HTTP deamon possible.
All it needs to do is allow me to access local files through a browser using the http:// protocol.
(I can't use file://)
Would be great if it was something that only had functionality for serving pages on localhost. Portable/lightweight would be great too!
Maybe a single script?
thttpd is probably as small as I can think of without going into the in-kernel http servers like khttpd. It's not directly windows compatible, but someone came up with a version built in Cygwin.
lighttpd
is fairly light, it uses around 10MiB and is available for Windows and Linux.To have lower memory usage, I think you'll need to look at web servers for embedding.
I think BusyBox is just what I need!