NodeJs.Server History

Hide minor edits - Show changes to output - Cancel

 
 
May 07, 2014, at 11:52 AM by MichaelPaulukonis -
Changed lines 1-3 from:
[[http://stackoverflow.com/questions/12905426/faster-alternative-to-pythons-simplehttpserver|Simple HTTP server]]
[[https://github.com/nodeapps/http-server]]
to:
[[https://github.com/nodeapps/http-server]] - found via [[http://stackoverflow.com/questions/12905426/faster-alternative-to-pythons-simplehttpserver|StackOverflow request for a simple HTTP server]]

This is dead-simple, and I regret not having this in my toolkit years ago.
Of course, I also regret not having NodeJs in my toolkit years ago, too.


Added lines 9-24:
(:source lang=text:)
usage: http-server [path] [options]

options:
  -p                Port to use [8080]
  -a                Address to use [0.0.0.0]
  -d                Show directory listings [true]
  -i                Display autoIndex [true]
  -e --ext          Default file extension if none supplied [none]
  -s --silent        Suppress log messages from output
  --cors            Enable CORS via the 'Access-Control-Allow-Origin' header
  -o                Open browser window after staring the server
  -c                Set cache time (in seconds). e.g. -c10 for 10 seconds.
                    To disable caching, use -c-1.
  -h --help          Print this list and exit.
(:sourceend:)
 
 
April 26, 2014, at 04:08 PM by MichaelPaulukonis -
Added lines 2-6:
[[https://github.com/nodeapps/http-server]]

[@npm i -g http-server@]

 
 
April 26, 2014, at 03:57 PM by MichaelPaulukonis -
Changed lines 1-9 from:
[[http://stackoverflow.com/questions/12905426/faster-alternative-to-pythons-simplehttpserver|Simple HTTP server]]
to:
[[http://stackoverflow.com/questions/12905426/faster-alternative-to-pythons-simplehttpserver|Simple HTTP server]]


!! See Also
[[WebDevelopment.XAMPP]]


!! Category Tags
[[!WebServer
]]
 
 
April 22, 2014, at 01:41 PM by MichaelPaulukonis -
Added line 1:
[[http://stackoverflow.com/questions/12905426/faster-alternative-to-pythons-simplehttpserver|Simple HTTP server]]