Python & cgi on win98--tinyweb problems, etc
Tim Roberts
timr at probo.com
Mon Nov 19 01:56:40 EST 2001
Chris Stromberger <bit_bucket5 at hotmail.com> wrote:
>>
>>How about the HttpServer class that's already in the Python library?
>
>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.
The documentation is out of date. CGIHTTPServer checks to see if the
system has fork, and if not, it does it another way. It works fine on
Windows.
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list