Jeff Bauer wrote:
I've been exchanging email with Chris and we have been unable to resolve this problem. Essentially he's attempting to run a simple Python script (as preparation to running Zope) on his ISP's system. The ISP already has Python installed in /usr/bin, is running Apache, possibly with PyApache compiled in. The latest attempt was to try and run testcgi.py with a wrapper script (launchpad.cgi) to set the appropriate environment. Is there anything obvious lacking in the scripts shown below?
Oops! I forgot the most important part. His testcgi.py bails out at after printing "Importing os". -Jeff --- Text of testcgi.cgi ---- #!$MYPYTHON print "Content-type: text/html" print print "<pre>" print "Importing os" import os print "Done Importing os"