having serious problems getting a python CGI to work

Kyler Laird Kyler at news.Lairds.org
Tue Jun 1 12:09:12 EDT 2004


John Draper <lists at webcrunchers.com> writes:

>error] (2)No such file or directory: exec of 
>/Library/WebServer/CGI-Executables/index.py failed

I suspect that this has little to do with Python.

Can you run a shell script through CGI on that system?
	#!/bin/sh

	echo Content-type: text/plain
	echo
	date

If you can get that far, we can easily debug the Python execution.
(Is there "strace" for MacOS?)

--kyler



More information about the Python-list mailing list