How can I run CGI script in the CGIHTTPServer?

jun won, Seo linuxqna at
Tue Sep 19 01:41:13 CEST 2000

I programmed following code
from BaseHTTPServer import HTTPServer
from CGIHTTPServer import CGIHTTPRequestHandler

class CgiHandler(CGIHTTPRequestHandler):
        def do_GET(self):

server = HTTPServer(('',8080), CgiHandler)

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