Let’s say i want to serve the contents of /home/james through http temporarily
I don’t want to setup apache because it’s temporary.
So instead i can do this:
$ cd /home/james
$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ... James-Laptop - - [24/Jun/2012 12:39:37] "GET / HTTP/1.1" 200 -
Browse to your ipaddress on port 8000
http://my_system_address:8000