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$
|
||||
# cgi/php web server
|
||||
|
@ -175,7 +175,7 @@ class PHPHTTPRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
|
|||
else:
|
||||
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.serve_forever()
|
||||
|
||||
|
|
Loading…
Reference in New Issue