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¶
The mongoose webserver is running on my DNS-323 with file browsing and Musicbrowser (http://musicbrowser.sourceforge.net/).
Example:
/ffp/sbin/mongoose -r /mnt/HD_a2/ffp/var/mongoose_web,Music=/mnt/HD_a2/Music,Films=/mnt/HD_a2/Films -i index.html,index.htm,index.cgi,index.shtml -u Leser -I /mnt/HD_a2/ffp/bin/php-cgi &
see more examples / options: http://code.google.com/p/mongoose/wiki/MongooseManual