readme

来自「嵌入式web服务器源代码。可以移植的arm等嵌入式上。经试验运行稳定可靠。欢迎下」· 代码 · 共 59 行

TXT
59
字号
	            mini_httpd - small HTTP server		      version 1.19 of 19dec2003mini_httpd is a small HTTP server.  Its performance is not great, but forlow or medium traffic sites it's quite adequate. It implements all thebasic 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 experimentto see just how slow an old-fashioned forking web server would bewith today's operating systems.  The answer is, surprisingly, notthat slow - on FreeBSD 3.2, mini_httpd benchmarks at about 90% thespeed of Apache.  The other main reason for writing mini_httpd wasto get a simple platform for experimenting with new web servertechnology, 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 fileTo build: If you're on a SysV-like machine (which includes old Linux systemsbut 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.rpmFeedback is welcome - send bug reports, enhancements, checks, moneyorders, etc. to the addresses below.    Jef Poskanzer  jef@acme.com  http://www.acme.com/jef/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?