3 ms·
$ busybox httpd Works even in an initramfs, and in some embedded systems. Serves up the current directory, and you can even have CGI scripts in cgi-bin.
by hyperair 13y ago
$ busybox httpd
Works even in an initramfs, and in some embedded systems. Serves up the current directory, and you can even have CGI scripts in cgi-bin.
- voltagex_ 13y agoThanks! I'd forgotten about busybox, but that's often how your home router is doing things. * Side note: if it is, make sure your router manufacturer provides the GPL source release.
- justincormack 13y agoI dont think they usually use it as the web server, as they need some scripting not static pages only. The smallest server I know of that can do cgi is webfsd).
- voltagex_ 13y agoHmm, there's another investigation to do.
- mcpherrinm 13y agoWoah, I didn't realize busybox had an httpd. Truly a sweet piece of software.
- voltagex_ 13y agoIt often won't, as features ("applets") are chosen at compile-time.