File: http_server

package info (click to toggle)
eiskaltdcpp-web 1.0.1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 860 kB
  • sloc: javascript: 11,766; sh: 106; makefile: 7
file content (5 lines) | stat: -rwxr-xr-x 188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#!/bin/sh
echo This server is just for testing, it is not secure!
echo Only argument is the server port, it defaults to 8000.
echo Stop server with ctrl-c...
python -m SimpleHTTPServer $1