Ok. As I mentioned before, I copied the contents of these two files:
index.py
template.py // which is referenced by the former
--into--
test.py
test2.py
I pasted them in through the ssh client, changing only the import statement from template to test2. *That worked.* However, the material that I uploaded through ftp doesn't render, it throws the error. The permissions are the same as the tests. So is the ownership. What gives??
V

On Fri, Nov 6, 2009 at 5:10 PM, nate <centos@linuxpowered.net> wrote:
Victor Subervi wrote:

> [Fri Nov 06 12:51:49 2009] [error] [client 66.248.168.98] Premature end of
> script headers: index.py, referer: http://angrynates.com/global_solutions/
> [Fri Nov 06 12:56:18 2009] [error] [client 66.248.168.98] (2)No such file or
> directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py'

Sounds like the interpreter referenced in the script is likely
non existent or non accessible to apache.

nate


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos