[Pythonmac-SIG] Python CGI on OS X Apache

Just van Rossum just@letterror.com
Fri, 13 Dec 2002 09:49:09 +0100


Just van Rossum wrote:

> I don't think you have to do anything but make sure that your script
> - starts with #!/usr/bin/python
> - has unix line endings
> - is placed in /Library/WebServer/CGI-Executables/ (which is available as
> cgi-bin from the client perspective).

And of course:
- is executable (chmod +x myscript.py)

Just