On Thu, 10 Jan 2008 23:17:28 -0800 (PST) Dale <[EMAIL PROTECTED]> wrote:
> I am using a simple python webserver (see code below) to serve up
> python scripts located in my cgi-bin directory.
>
> import BaseHTTPServer
> import CGIHTTPServer
> class Handler(CGIHTTPServer.CGIHTTPRequestHandler):
>
Dale a écrit :
> I am using a simple python webserver (see code below) to serve up
> python scripts located in my cgi-bin directory.
>
> import BaseHTTPServer
> import CGIHTTPServer
> class Handler(CGIHTTPServer.CGIHTTPRequestHandler):
> cgi_directories = ['/cgi-bin']
> httpd = BaseHTTPServer.
I am using a simple python webserver (see code below) to serve up
python scripts located in my cgi-bin directory.
import BaseHTTPServer
import CGIHTTPServer
class Handler(CGIHTTPServer.CGIHTTPRequestHandler):
cgi_directories = ['/cgi-bin']
httpd = BaseHTTPServer.HTTPServer(('',8000), Handler)