Mongoose

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
(Links)
 
(未显示2个用户的14个中间版本)
第1行: 第1行:
 +
{{top news}}
 +
[[Image:SimpleHTTPD.png|right]]
 +
 +
Mongoose is easy to use web server.
 +
 
SHTTPD - an embeddable Web server
 
SHTTPD - an embeddable Web server
 +
 +
SHTTPD 已更名为 Mongoose
  
 
Shttpd是另一个轻量级的web server,具有比thttpd更丰富的功能特性,支持CGI, SSL, cookie, MD5认证, 还能嵌入(embedded)到现有的软件里。最有意思的是不需要配置文件!
 
Shttpd是另一个轻量级的web server,具有比thttpd更丰富的功能特性,支持CGI, SSL, cookie, MD5认证, 还能嵌入(embedded)到现有的软件里。最有意思的是不需要配置文件!
第21行: 第28行:
 
由于shttpd可以轻松嵌入其他程序里,因此shttpd是较为理想的web server开发原形,开发人员可以基于shttpd开发出自己的webserver!
 
由于shttpd可以轻松嵌入其他程序里,因此shttpd是较为理想的web server开发原形,开发人员可以基于shttpd开发出自己的webserver!
  
http://shttpd.sourceforge.net/
+
==新闻==
 +
<rss>http://www.yassl.com/yaSSL/News/rss.xml|short|date|max=10</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/
 +
 
 +
{{comment}}
 +
 
 +
[[category:web server]]

2013年1月28日 (一) 05:47的最后版本

SimpleHTTPD.png

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

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱