'tiny web server'에 해당되는 글 1건

  1. 2009.12.24 Mongoose
0x04 reference&tools2009. 12. 24. 13:55


http://code.google.com/p/mongoose/

PT나 시연때 간단하게 쓰기 좋은 웹서버입니다.




Overview


Mongoose is an easy to use web server. It can be embedded into existing application to provide a web interface to it.

Mongoose web server executable is self-sufficient, it does not depend on anything to start serving requests. If it is copied to any directory and executed, 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 (see example) 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: 40 Kb executable on Linux 2.6 i386 system
  • Embeddable with simple and clean API. Source is in single .c file to make things easy
  • Language suport for:
    • C/C++ (native)
    • Python - since version 2.6 (done)
    • C# - since version 2.7 (done)
    • Ruby - since version 2.9 (todo)
    • Lua - since version 2.9 (todo)
Posted by demantos