Home |
Last modified: 16-06-2020 |
Mongoose is a basic web server available for Windows and *nix that only requires a single binary. It also supports PHP and other scripting engines.
To run Mongoose in its most basic form, simply download and run the binary.
Mongoose is configured through mongoose.conf that must be located in the same directory as mongoose.exe. On *nix, it can also be located in /etc to avoid putting a configuration file in of /usr/bin.
By default, Mongoose listens on TCP 8080, but you can use "listening_ports 12345" to force it to open a different port.
To tell Mongoose which files to consider as CGI scripts, use eg. "cgi_extensions .php,,"
Disabled by default. Enable with "enable_directory_listing yes"
By default, "index.html,index.htm,index.cgi". Can be changed through "index_files"
By default, Mongoose considers any file with extension .php as a PHP file and run it through the interpreter mentionned in its shebang line or through the "cgi_interpreter" in mongoose.conf.