Ok. As I mentioned before, I copied the contents of these two files:<div>index.py</div><div>template.py // which is referenced by the former</div><div>--into--</div><div>test.py</div><div>test2.py</div><div>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??</div>
<div>V</div><div><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 5:10 PM, nate <span dir="ltr"><<a href="mailto:centos@linuxpowered.net">centos@linuxpowered.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Victor Subervi wrote:<br>
<br>
> [Fri Nov 06 12:51:49 2009] [error] [client 66.248.168.98] Premature end of<br>
> script headers: index.py, referer: <a href="http://angrynates.com/global_solutions/" target="_blank">http://angrynates.com/global_solutions/</a><br>
> [Fri Nov 06 12:56:18 2009] [error] [client 66.248.168.98] (2)No such file or<br>
> directory: exec of '/var/www/html/<a href="http://angrynates.com/global_solutions/index.py" target="_blank">angrynates.com/global_solutions/index.py</a>'<br>
<br>
</div>Sounds like the interpreter referenced in the script is likely<br>
non existent or non accessible to apache.<br>
<font color="#888888"><br>
nate<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br></div>