这个项目代码量很小,绝对的学习教材
作者在README中也说了这个项目的初衷,确实挺引人深思的
This software is copyright 1999 by J. David Blackstone. Permissionis granted to redistribute and modify this software under the terms ofthe GNU General Public License, available at http://www.gnu.org/ . If you use this software or examine the code, I would appreciateknowing and would be overjoyed to hear about it atjdavidb@sourceforge.net . This software is not production quality. It comes with no warrantyof any kind, not even an implied warranty of fitness for a particularpurpose. I am not responsible for the damage that will likely resultif you use this software on your computer system. I wrote this webserver for an assignment in my networking class in1999. We were told that at a bare minimum the server had to servepages, and told that we would get extra credit for doing "extras."Perl had introduced me to a whole lot of UNIX functionality (I learnedsockets and fork from Perl!), and O'Reilly's lion book on UNIX systemcalls plus O'Reilly's books on CGI and writing web clients in Perl gotme thinking and I realized I could make my webserver support CGI withlittle trouble. Now, if you're a member of the Apache core group, you might not beimpressed. But my professor was blown over. Try the color.cgi samplescript and type in "chartreuse." Made me seem smarter than I am, atany rate. :) Apache it's not. But I do hope that this program is a goodeducational tool for those interested in http/socket programming, aswell as UNIX system calls. (There's some textbook uses of pipes,environment variables, forks, and so on.) One last thing: if you look at my webserver or (are you out ofmind?!?) use it, I would just be overjoyed to hear about it. Pleaseemail me. I probably won't really be releasing major updates, but ifI help you learn something, I'd love to know! Happy hacking! J. David Blackstone年代比较久远了,远不及apache,但是也能从中找寻乐趣,happy hacking~
这个是作者的一篇作业上的扩展,看来,做事很认真,想想自己上课,远没有这么大的想法