summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/slaveserve.py
blob: c1d9ae70af919db2a7816e0cb58743c9b87fb56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/python2
import CGIHTTPServer
import BaseHTTPServer

class Handler(CGIHTTPServer.CGIHTTPRequestHandler):
    cgi_directories = ["/"]

PORT = 1337

httpd = BaseHTTPServer.HTTPServer(("", PORT), Handler)
#print "serving at port", PORT
httpd.serve_forever()