Re: cgi scripts in Mac OS X

2007-10-20 Thread James Stroud
Jeff McNeil wrote: > Your web server needs to be told to execute Python scripts. You can > handle it a few different ways, depending on your environment. > > 1. Place your .py script inside of a ScriptAlias'd /cgi-bin/ directory > which will force it to be executed. > > 2. Rename your .py script

Re: cgi scripts in Mac OS X

2007-10-20 Thread Jeff McNeil
Your web server needs to be told to execute Python scripts. You can handle it a few different ways, depending on your environment. 1. Place your .py script inside of a ScriptAlias'd /cgi-bin/ directory which will force it to be executed. 2. Rename your .py script to .cgi and add an 'AddHandler c

cgi scripts in Mac OS X

2007-10-20 Thread Brian Shine
I'm trying to get cgi scripts to work. I can link to the python script, but instead of running and producing an output, it prints the script on the page. I've obviously missed a step in setting it up, but I can't see what it is. Thanks in advance, Brian Shine -- http://mail.python.org/mai