Add minimal python directory web server.

This commit is contained in:
Joel Martin 2010-03-31 19:44:48 -05:00
parent 8b945f2a94
commit f9d4566547
1 changed files with 6 additions and 0 deletions

6
web.py Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/python
from BaseHTTPServer import HTTPServer
from CGIHTTPServer import CGIHTTPRequestHandler
server = HTTPServer(('',8777), CGIHTTPRequestHandler)
server.serve_forever()