[Pythonmac-SIG] Doc cgi python

Just van Rossum just@letterror.com
Sat, 25 Mar 2000 11:44:10 +0100


--============_-1258141439==_============
Content-Type: text/plain; charset="us-ascii"

I found my old attempt to run Python CGI's under a Mac web server; attached
as a stuffit file. It's quite old and rusty, but it does at least start up
under Python 1.5.2... This program is supposed to be a long running applet,
which will execute Python scripts when told to. If the AE's it supports are
indeed the standard ones, it might even work with WebStar out of the box.
The Web server should be configured to handle *.py files over to
pythoncgislave.py. The CGI arguments will be available as a global variable
'args' in the Python script. Oh, I just notice that the pythoncgislave.py
applet should live in the root html folder; I guess it should be modified
to be more versatile. Hack away!

(Erik: do you know if you have a newer version of pythoncgislave.py around?
After all you're the one who used it the most...)

Just

--============_-1258141439==_============
Content-Type: application/mac-binhex40; name="pythoncgislave.py.sit"
Content-Disposition: attachment; filename="pythoncgislave.py.sit"

(This file must be converted with BinHex 4.0)

:&A"jG'K[EQ0RDA0XBACP,R"j,R0TG!"6594%8dP8)3%!!!!&3!!!!!#`c90*9#%
!!3!!"8"b6'&e!J!!!!!@EhX0$4&`HA4SEfjMCfPcE'&fC5j`HH4+!!!!J!!!!!!
)dJIZ-&B*KJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2rrrrp849K88(PdD!%!Vf-
*IV)"`3!!!!'2!!!(e`!!!18!!!29ri[+J3!!!!!!!&Z@%3!)('a`#')YhM+,5jV
C1-lVcC3mLT[K'[&aAN&PPQ#B"'@Kk&#CaPP+DL3cR3bL[ZK3Al"p+*!!RT@D5B@
[hKi!!5+NBjRMY$Rj2S`Qe-T@b*ie2RUCjA')p%ZR%8NcF%SkbFc%&A%'G@UhCcV
H,63pfMmV(IIR!QH3!)%4PSUPMN2[b6k[2ME$UUdb[3lYSqNd48BiUqaae+hha-i
NIINFqE))#r2"rAJ@#fG@GN`3UDa*X5EY6Yl@a"J!CeEVQ2LEEjTDqa4(S9$E1Bb
hp!JkQJLMXZIRlhTT8S(XBR)QPG*CXXm##NjAmRL#$'"#McbqDJ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