mini__http
所属分类:Web服务器
开发工具:Unix_Linux
文件大小:49KB
下载次数:32
上传日期:2013-07-29 20:17:48
上 传 者:
ujenls
说明: Linux http服务器代码,能实现GET,POST方法,实现简单的CGI程序。在ubuntu 12.04下调试通过。
(Linux net program)
文件列表:
mini__http (0, 2013-07-29)
mini__http\contrib (0, 2013-07-29)
mini__http\contrib\redhat-rpm (0, 2013-07-29)
mini__http\contrib\redhat-rpm\mini_httpd.init (1041, 2000-02-02)
mini__http\contrib\redhat-rpm\mini_httpd.spec (2351, 2003-10-27)
mini__http\FILES (340, 2001-12-23)
mini__http\htpasswd.1 (414, 1999-09-29)
mini__http\htpasswd.c (4959, 2001-12-19)
mini__http\index.html (340, 2005-06-30)
mini__http\Makefile (3140, 2002-11-02)
mini__http\match.c (2661, 2005-06-30)
mini__http\match.h (1679, 2005-06-30)
mini__http\mime_encodings.txt (207, 2001-12-24)
mini__http\mime_types.txt (4827, 2003-10-27)
mini__http\mini_httpd.8 (16625, 2005-06-30)
mini__http\mini_httpd.c (88321, 2013-07-25)
mini__http\mini_httpd.cnf (1132, 2001-12-20)
mini__http\port.h (2249, 2002-07-31)
mini__http\scripts (0, 2013-07-29)
mini__http\scripts\500.mini_httpd-rotate (561, 2003-11-18)
mini__http\scripts\mini_httpd.sh (443, 2001-12-29)
mini__http\scripts\mini_httpd_wrapper (654, 2002-06-19)
mini__http\tdate_parse.c (8284, 2005-06-30)
mini__http\tdate_parse.h (1575, 2005-06-30)
mini__http\version.h (231, 2003-12-20)
mini_httpd - small HTTP server
version 1.19 of 19dec2003
mini_httpd is a small HTTP server. Its performance is not great, but for
low or medium traffic sites it's quite adequate. It implements all the
basic features of an HTTP server, including:
* GET, HEAD, and POST methods.
* CGI.
* Basic authentication.
* Security against ".." filename snooping.
* The common MIME types.
* Trailing-slash redirection.
* index.html, index.htm, index.cgi
* Directory listings.
* Multihoming / virtual hosting.
* Standard logging.
* Custom error pages.
It can also be configured to do SSL/HTTPS.
mini_httpd was written for a couple reasons. One, as an experiment
to see just how slow an old-fashioned forking web server would be
with today's operating systems. The answer is, surprisingly, not
that slow - on FreeBSD 3.2, mini_httpd benchmarks at about 90% the
speed of Apache. The other main reason for writing mini_httpd was
to get a simple platform for experimenting with new web server
technology, for instance SSL.
See the manual entry for more details.
Files in this distribution:
README this
Makefile guess
mini_httpd.c source file for server
mini_httpd.8 manual entry for server
version.h version defines
port.h portability defines
mime_types.txt list of MIME types
htpasswd.c source file for password changer
htpasswd.1 manual entry for password changer
index.html sample index file
To build: If you're on a SysV-like machine (which includes old Linux systems
but not new Linux systems), edit the Makefile and uncomment the SYSVLIBS line.
If you're doing SSL, uncomment those lines too. Otherwise, just do a make.
On Red Hat Linux systems you can use RPM to install mini_httpd, like so:
cd /usr/src/redhat/SOURCES
wget http://www.acme.com/software/mini_httpd/mini_httpd-1.19.tar.gz
rpm -ta mini_httpd-1.19.tar.gz
rpm -i /usr/src/redhat/RPMS/i386/mini_httpd-1.19-1.i386.rpm
Feedback is welcome - send bug reports, enhancements, checks, money
orders, etc. to the addresses below.
Jef Poskanzer jef@mail.acme.com http://www.acme.com/jef/
近期下载者:
相关文件:
收藏者: