欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Mongoose
来自开放百科 - 灰狐
Mongoose is easy to use web server.
SHTTPD - an embeddable Web server
SHTTPD 已更名为 Mongoose
Shttpd是另一个轻量级的web server,具有比thttpd更丰富的功能特性,支持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!
新闻
自http://www.yassl.com/yaSSL/News/rss.xml加载RSS失败或RSS源被墙
Install
debian:/usr/local# tar zxvf shttpd-1.35.tar.gz shttpd-1.35 shttpd-1.35/embed shttpd-1.35/CHANGELOG shttpd-1.35/COPYING shttpd-1.35/README shttpd-1.35/shttpd.1 shttpd-1.35/shttpd.pem shttpd-1.35/shttpd.c shttpd-1.35/embed/passfile shttpd-1.35/embed/example_nt_service.cpp shttpd-1.35/embed/scalable.c shttpd-1.35/embed/example.c shttpd-1.35/embed/shttpd.h
# cc -o shttpd shttpd.c -ldl # ./shttpd -d /var/www 就可以访问啦, http://localhost 能浏览整个目录结构.
Links
- http://code.google.com/p/mongoose/
- http://shttpd.sourceforge.net/
- http://download.huihoo.com/shttpd/
- http://docs.huihoo.com/shttpd/
<discussion>characters_max=300</discussion>
分享您的观点