]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Add minimal python directory web server.
authorJoel Martin <github@martintribe.org>
Thu, 1 Apr 2010 00:44:48 +0000 (19:44 -0500)
committerJoel Martin <github@martintribe.org>
Thu, 1 Apr 2010 00:44:48 +0000 (19:44 -0500)
web.py [new file with mode: 0755]

diff --git a/web.py b/web.py
new file mode 100755 (executable)
index 0000000..08d7a9d
--- /dev/null
+++ b/web.py
@@ -0,0 +1,6 @@
+#!/usr/bin/python
+
+from BaseHTTPServer import HTTPServer
+from CGIHTTPServer import CGIHTTPRequestHandler
+server = HTTPServer(('',8777), CGIHTTPRequestHandler)
+server.serve_forever()