浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

mongoose - Mongoose - easy to use web server - Google Project Hosting

Overview

Mongoose is easy to use web server. It also can be used as embedded web server library to provide web interface to applications.

Mongoose executable does not depend on any external library or configuration. If it is copied to any directory and launched from there, it starts to serve that directory on port 8080 (so to access files, go to http://localhost:8080). If some additional config is required - for example, different listening port or IP-based access control, then a mongoose.conf file with respective options can be created in the same directory where executable lives. This makes Mongoose perfect for all sorts of demos, quick tests, file sharing, and Web programming.

 

 

Features

  • Crossplatform - works on Windows, MacOS and most flavors of UNIX
  • CGI, SSL, SSI, Digest (MD5) authorization, resumed download, aliases
  • IP-based ACL, Windows service, GET, POST, HEAD, PUT, DELETE methods
  • Small footprint: executable size is 40 kB on Linux 2.6 i386 system
  • Embeddable with simple and clean API. Source is in single .c file to make things easy. Minimalistic embedding example is in hello.c.
  • Python bindings

How to contribute

Create a repository clone where you can make changes:

  • Go to http://code.google.com/p/mongoose/source/clones , click 'Add clone'
  • Fill in name, summary, description, click 'Create repository clone'
  • Click on 'Administer', 'Source'. Enable 'Allow non-members to review code', click 'Save changes'

Make your changes:

  • Make your changes to the source code, then "hg commit", "hg push". This makes your change visible to everyone
  • I review your change, make some comments. You repeat previous step: make changes, commit and push
  • The process repeats until we are both happy. Then, I integrate your change in the main branch
  • You can delete your clone if it is not needed anymore
posted on 2012-04-22 11:41  lexus  阅读(126)  评论(0)    收藏  举报