virtual-world-framework/vwf — pull request #103 by bcbarsness (2014-01-21 16:32:55+00:00)
Title: Branch/node default route

Resolves http://redmine.virtualworldframework.com/issues/3065 (Node Server: Can't run server from inside app directory & access the root app)

Test suite:

[ Until windows msi is completed....Specific to Windows test, expects HOME to be set to vwf working directory and VWF support files reside in homePath/.vwf. Alternatively, the vwfHome path can be hardcoded locally in node-server.js]

For each iteration, direct the url to 'localhost:3000', () = what should be served. Note, run incognito or clear browser cache each run.

cd \public\duck
node ../../node-server.js -a . (duck)
node ../../node-server.js (duck)
node ../../node-server.js -a ./images/ (404 Not found)

cd \public
node ../node-server.js -a ./duck/ (duck)
node ../node-server (web/about.html)
node ../node-server -a ./duck/images (web/about.html)