项目 >> Web 服务器 >> shttpd

shttpd

shttpdShttpd是一个轻量级的web server.支持CGI, SSL, cookie, MD5认证, 还能嵌入(embedded)到现有的软件里。

由于shttpd可以嵌入其他软件,因此可以非常容易的开发嵌入式系统的web server,官方网站上称shttpd如果使用uclibc/dielibc(libc的简化子集)则开销将非常非常低。以下是其特点:

Stand-alone server, or embeddable into existing C/C++ program
GET, POST, PUT, DELETE methods
CGI
SSL
Digest (MD5) authorization
Multiple (and user defineable) index files
Directory listing
Standard logging
Cookies
inetd mode
User-defineable mime types
No configuration files
No external dependencies

由于shttpd可以轻松嵌入其他程序里,因此shttpd是较为理想的web server开发原形,开发人员可以基于shttpd开发出自己的webserver!

Homepage: http://shttpd.sourceforge.net/

Loading...

shttpd和Lua的组合-提供嵌入式web服务

简单介绍:   lua是一个小巧的脚本语言,专用于嵌入和扩展。它和C/C++代码有着良好的交互能力。由于体积小,很适合嵌入到其他程序中为程序提供脚本功能。 lua在大多数平台上都可以顺利编译、运行。网址 http://www.lua.org   shttpd是一个小巧的web服务器,小巧到只有一个.c文件,4000余行代码。虽然体积很小,却具备了最基本的功能,比...