0.0.4 • Published 8 years ago
foxbox v0.0.4
foxBox
Flexible single file script for serving basic information.
Installation
git clone 'https://github.com/cloverboxfox/foxbox.git'
or
npm install --production foxbox
cd foxbox
npm install
Use
node index.js
#curl localhost:8080
Directory is served bassed on domain of request
If request comes from localhost:8080 then the root folder is localhost If request comes from 127.0.0.1:8080 then the root folder is 127.0.0.1 If request comes as direct address 45.45.45.45 looks for folder 45.45.45.45
etc...