Re:Web server in one line of bash
by mcpherrinm on Friday August 16, 2013 @01:20AM
(#6222302)
Woah, I didn't realize busybox had an httpd. Truly a sweet piece of software.
It often won't, as features ("applets") are chosen at compile-time.
Thanks! 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.
Re:Web server in one line of bash
by justincormack on Friday August 16, 2013 @03:52AM
(#6222707)
I 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).
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.