How can I run CGI script in the CGIHTTPServer?
jun won, Seo
linuxqna at chollian.net
Mon Sep 18 19:41:13 EDT 2000
Hi,
I programmed following code
-----------------------------------------------
from BaseHTTPServer import HTTPServer
from CGIHTTPServer import CGIHTTPRequestHandler
class CgiHandler(CGIHTTPRequestHandler):
def do_GET(self):
.
.
.
.
server = HTTPServer(('',8080), CgiHandler)
server.serve_forever()
----------------------------------------------------
examply,
I typed my browser "http://myserver:8080/run.cgi
How can I run run.cgi, and return that run result?
More information about the Python-list
mailing list