Adding CGI-capabilities to a BaseHTTPServer/BaseHTTPRequestHandler-based webserver
William
wilk-spamout at flibuste.net
Mon Feb 3 05:54:58 EST 2003
"Thomas Weholt" <2002 at weholt.org> writes:
> I got a web-server project based on BaseHTTPServer/BaseHTTPRequestHandler. I
> want to add cgi-handling capabilities, execute perl- or python-scripts and
> send the generated content and http-headers to the client. How can I do this
> without mixing the two RequestHandlers in the standard-library in an awful
> mess? I can restrict things in a number of ways: cgi-scripts must be in a
> specified folder ( cgi-bin ), must have cgi-extension etc. to make this
> easier.
why don't you use CGIHttpServer ?
--
William Dode - http://flibuste.net
More information about the Python-list
mailing list