This is an old revision of the document!
Mongoose is easy to use web server
It also can be used as embedded web server library to provide a web interface to applications.
Mongoose executable does not depend on any external library or configuration. 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: 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
- Python bindings
Webpage:
Comment
The mongoose webserver is running on my DNS-323 with file browsing and Musicbrowser (http://musicbrowser.sourceforge.net/).
At this moment I don't now how to upload the ready to use compiled mongoose binary (65 Kb). Later I will describe an example configuration.