On 2017-03-20, Vered Zvi <[email protected]> wrote: > I'm working with busybox 1.25.1 I have to run a web server under > vanilla Linux (and busybox) Upon http request to display a web page, > the web server has also to collect some data from the target and > display it in the HTML page. > > What is the right solution for my scenario?
42 > Can I use httpd? Yes > How can httpd collect data? cgi: https://en.wikipedia.org/wiki/Common_Gateway_Interface For many things, cgi pages written in shell work very nicely, but you can also implement cgi pages in C (or any other programming langague): http://www.linuxjournal.com/article/6863 https://www.cs.tut.fi/~jkorpela/forms/cgic.html There are a number of small C libraries to help with CGI: https://www.google.com/search?q=cgi+C+library I've been happy with https://sourceforge.net/projects/libccgi/ > The information contained in this communication is proprietary to > Israel Aerospace Industries Ltd. and/or third parties, may contain > confidential or privileged information, [blah, blah, blah] Gee, then you probobably shouldn't have splattered it all over the Interwebs, eh? -- Grant Edwards grant.b.edwards Yow! I'm a GENIUS! I want at to dispute sentence gmail.com structure with SUSAN SONTAG!! _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
