0

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?

1
  • Did you consider using apache?
    – Khaled
    Oct 30, 2010 at 12:31

3 Answers 3

2

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.

1
  • This also looks like a very good option.
    – Acorn
    Oct 30, 2010 at 13:23
1

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.

2
  • The important thing is not so much the size, but the simplicity, and it not having unnecessary functionality. Ideally it would maybe just be a single script that I could run.
    – Acorn
    Oct 30, 2010 at 12:37
  • Even apache if it has to serve only html files from single directory will have around a dozen or two lines in config file. I didn't really try this with lighttpd but I'd be surprised if lighttpd would be more complicated. Oct 30, 2010 at 12:43
1

I think BusyBox is just what I need!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .