Python & cgi on win98--tinyweb problems, etc

Chris Stromberger bit_bucket5 at hotmail.com
Thu Nov 15 21:13:57 EST 2001


On 15 Nov 2001 17:58:56 -0800, Paul Rubin <phr-n2001d at nightsong.com>
wrote:

>Chris Stromberger <bit_bucket5 at hotmail.com> writes:
>> Hadn't thought of that.  Do you mean CGIHTTPServer?  The docs say
>> "Note: This module is Unix dependent since it creates the CGI process
>> using os.fork() and os.exec()." so that won't work for win98, unless
>> I'm missing something.
>
>I don't see how to run cgi's without forking.  That's more or less the
>definition of a cgi.  So I was thinking more in terms of extending
>BaseHTTPServer to run your Python code directly on parsing the request.

Well, I'm not familiar with BaseHTTPServer (obviously), but it sounds
intriguing.  I'll look into it.  Thanks for the suggestion.



More information about the Python-list mailing list