[Pythonmac-SIG] CGI on Mac/WebStar using Python

Jack Jansen jack@oratrix.nl
Thu, 09 Dec 1999 17:49:51 +0100


> This morning, I turned ON three startup options for Python on the mac
> running WebStar.
> Three options I turned on are:
> 	1) Disable Interactive option setting
> 	2) Disable argc/argv emulation
> 	3) Delay console window until needed.
> With this setting, the phenomena I mentioned disappear. All CGI request
> from WWW browser are handled 
> properly even if the CGI program is not running. So you can use set
> self.quitting = 1 at the end of CGI callback
> to terminate execution of the CGI program.

I _think_ it is documented that you should turn these one, but I will check 
again. It is definitely necessary to do (2), I'm not sure about (1) and (3).

--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm