mirror von https://github.com/civetweb/civetweb.git

Sergey Lyubka 6205e69ab2 Fixed python bindings 12 năm trước cách đây
bindings 6205e69ab2 Fixed python bindings 12 năm trước cách đây
examples 78ea04556f Windows build for examples added 13 năm trước cách đây
test 038f8823f1 Added test to mg_stat(). Fixed set_gpass() 12 năm trước cách đây
win32 8853d320fe removed obsolete stuff 15 năm trước cách đây
LICENSE abbf27338e license added 15 năm trước cách đây
Makefile bf387f9544 Added Lua build instructions 13 năm trước cách đây
README.md 6ef5eb0665 Changed overview 13 năm trước cách đây
main.c 043ea54a2a Removed test cruft for MG_OPEN_FILE message from the event handler 13 năm trước cách đây
mongoose.1 0804ce71d5 updated date on a manual page 13 năm trước cách đây
mongoose.c 038f8823f1 Added test to mg_stat(). Fixed set_gpass() 12 năm trước cách đây
mongoose.h 365b5e8f8a Using long for file size in MG_OPEN_FILE ev_data 13 năm trước cách đây

README.md

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, that can be done via command line flags or configuration file, which should be created in the same directory where mongoose itself 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, Websocket, WEbDAV support
  • Resumed download, URL rewrite support
  • IP-based ACL, Windows service, GET, POST, HEAD, PUT, DELETE methods
  • Excluding files from serving by URI pattern
  • Download speed limit based on client subnet or URI pattern
  • Small footprint: executable size is 40 kB on Linux 2.6 i386 system
  • Embeddable with simple and clean API (mongoose.h). The source is in single mongoose.c file to make things easy.
  • Embedding examples: hello.c, post.c, upload.c, websocket.c
  • Python and C# bindings

Mailing list

You can read it online, subscribe to, or send a message at mongoose-users.

Keep Sergey happy

I have a books wishlist on Amazon. If you feel brave, you can buy me a book!