In ubuntu 12.04 i have this basic http server:
python -m SimpleHTTPServer
And this file demo.py
#!/usr/bin/python2.7 print \"Co
SimpleHTTPServer can only serve static pages, not CGI scripts. You could use CGIHTTPServer instead.
SimpleHTTPServer
Use this only for local testing setups; these servers have hardly been battletested on the wider web and are almost certainly not secure.