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

Sergey Lyubka eed09600f7 Ignoring .htpasswd file for PUT and DELETE requests. Those use separate passwords file. 12 years ago
bindings b437d56736 Added MG_INIT_LUA event 12 years ago
examples 38421657b3 Minor refactoring in examples/upload.c 12 years ago
test 05fa677382 Fixed unit test to accomodate mg_get_var() API change 12 years ago
win32 8853d320fe removed obsolete stuff 15 years ago
LICENSE abbf27338e license added 15 years ago
Makefile bf387f9544 Added Lua build instructions 13 years ago
README.md bf633082ac Update README.md 12 years ago
main.c 043ea54a2a Removed test cruft for MG_OPEN_FILE message from the event handler 13 years ago
mongoose.1 0804ce71d5 updated date on a manual page 13 years ago
mongoose.c eed09600f7 Ignoring .htpasswd file for PUT and DELETE requests. Those use separate passwords file. 12 years ago
mongoose.h 8faf6f7b72 Made behavior of mg_get_cookie(..) on errors the same as mg_get_var(..). Separated the two cases a.) problems with destination buffer and b.) cookie header or cookie parameter not existing. 12 years ago

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
  • Lua server pages (like PHP, but using Lua as a language instead of PHP)
  • Resumed download, URL rewrite, IP-based ACL, Windows service
  • Excluding files from serving by URI pattern (file blacklist)
  • Download speed limit based on client subnet or URI pattern
  • Small footprint: executable size is 50 kB on Linux 2.6 i386 system
  • 130 kilobytes Windows executable with all of the above compiled in, and no dependencies
  • 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
  • Super-liberal MIT license, great for commercial users!

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! Many thanks to all who already did so: T.Barmann, D.Hughes, J.C.Sloan and 4 others. Appreciated, guys, you keep my brains going!