Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 666 Bytes

Ananas

An Experimental NodeJS Web Server.

directory listing

Features

  • Static file serving
  • Routing and dynamic requests
  • Apache-like directory listing with appropriate content-type icons
  • Virtual hosts
  • Proper Date, Last-Modified, Content-Type and Content-Length headers
  • Configuration keys for server name, ip, port, directory index file and private urls

##TODO

  • Documentation

Usage

  1. copy config.sample.json to config.json
  2. review config.json and modify bind_port if you like
  3. run:
node server.js config.json

License

[MIT] (http://www.opensource.org/licenses/mit-license.php)