[Pythonmac-SIG] Doc cgi python
Jack Jansen
jack@oratrix.nl
Mon, 27 Mar 2000 10:37:44 +0200
I was going to post code over the weekend, but I didn't get around to it.
Here's what I found in case people want to experiment more with the example
cgi program in the distribution.
- Adding an import MacOS will make it work again.
- The Popt resource in the .rsrc file is apparently outdated, so you'll have
to drop the applet on EditPythonPrefs to set the "don't do argc/argv
emulation" (otherwise your first appleevent will get lost).
- Personal Webserver also supports the CGI interface! This is really good news
for testing, as this means everyone who has 8.5 or later (8.5 is the first
system that had Personal Webserver, wasn't it?) can try it without downloading
webstar or machttpd.
Configuring Personal Webserver was a bit of a pain, but if you put the CGI
script somewhere under your Webpages folder you can get it to work (if someone
can give me exact instructions on which of the 4 action settings work I'd like
to include that in the docs).
--
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