tinyhttpd-0.1.0

所属分类:Web服务器
开发工具:C/C++
文件大小:7KB
下载次数:22
上传日期:2013-07-13 20:04:08
上 传 者oicqplayboy
说明:  一个不错的用C语言写的小型WEBSERVER,用来学习还不错。
(a good webserver.writed with C.just for study.)

文件列表:
tinyhttpd-0.1.0\htdocs\check.cgi (479, 2001-04-22)
tinyhttpd-0.1.0\htdocs\color.cgi (320, 2001-04-22)
tinyhttpd-0.1.0\htdocs\index.html (218, 2001-04-22)
tinyhttpd-0.1.0\httpd.c (14268, 2013-07-02)
tinyhttpd-0.1.0\Makefile (95, 2001-04-22)
tinyhttpd-0.1.0\simpleclient.c (673, 2001-04-22)
tinyhttpd-0.1.0\一个不错的WEBSER.txt (0, 2013-07-13)
tinyhttpd-0.1.0\htdocs (0, 2013-07-02)
tinyhttpd-0.1.0 (0, 2013-07-13)

This software is copyright 1999 by J. David Blackstone. Permission is granted to redistribute and modify this software under the terms of the GNU General Public License, available at http://www.gnu.org/ . If you use this software or examine the code, I would appreciate knowing and would be overjoyed to hear about it at jdavidb@sourceforge.net . This software is not production quality. It comes with no warranty of any kind, not even an implied warranty of fitness for a particular purpose. I am not responsible for the damage that will likely result if you use this software on your computer system. I wrote this webserver for an assignment in my networking class in 1999. We were told that at a bare minimum the server had to serve pages, and told that we would get extra credit for doing "extras." Perl had introduced me to a whole lot of UNIX functionality (I learned sockets and fork from Perl!), and O'Reilly's lion book on UNIX system calls plus O'Reilly's books on CGI and writing web clients in Perl got me thinking and I realized I could make my webserver support CGI with little trouble. Now, if you're a member of the Apache core group, you might not be impressed. But my professor was blown over. Try the color.cgi sample script and type in "chartreuse." Made me seem smarter than I am, at any rate. :) Apache it's not. But I do hope that this program is a good educational tool for those interested in http/socket programming, as well 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 of mind?!?) use it, I would just be overjoyed to hear about it. Please email me. I probably won't really be releasing major updates, but if I help you learn something, I'd love to know! Happy hacking! J. David Blackstone

近期下载者

相关文件


收藏者