An experimental NodeJS web server
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/ananas
www-example
.gitignore
README.md
config.sample.json
server.js

README.md

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)