mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2181
This commit is contained in:
parent
18dbab9c31
commit
c0e82ee287
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
# cgi/php web server
|
# cgi/php web server
|
||||||
|
@ -175,7 +175,7 @@ class PHPHTTPRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
raise SystemExit('need fork()')
|
raise SystemExit('need fork()')
|
||||||
|
|
||||||
def serve(bind='', port=8000, handler=PHPHTTPRequestHandler):
|
def serve(bind='localhost', port=8000, handler=PHPHTTPRequestHandler):
|
||||||
httpd = BaseHTTPServer.HTTPServer((bind,port), handler)
|
httpd = BaseHTTPServer.HTTPServer((bind,port), handler)
|
||||||
httpd.serve_forever()
|
httpd.serve_forever()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue