[root@13gems global_solutions]# ls -al | grep test.py
-rwxr-xr-x 1 root root 298 Nov 6 12:24 test.py
[root@13gems global_solutions]# ls -al | grep test2.py
-rwxr-xr-x 1 root root 5716 Nov 6 12:25 test2.py
[root@13gems global_solutions]# ls -al | grep index.py
-rwxr-xr-x 1 root root 316 Nov 6 07:05 index.py
[root@13gems global_solutions]# ls -al | grep template.py
-rwxr-xr-x 1 root root 5806 Nov 6 07:06 template.py
-rwxr-xr-x 1 root root 6093 Nov 6 07:06 template.pyc
where test.py is identical to index.py (other than the necessary import) and template is identical to test2.py
TIA,
V
On Fri, Nov 6, 2009 at 3:09 PM, Jacob P <jperkins@xxxxxxxxxxxxx> wrote:
index.py and index.html are different files:
Victor Subervi wrote:
/var/www/html/angrynates.com/global_solutions
[root@13gems global_solutions]# ls
-rwxr-xr-x 1 victor victor 275 Nov 6 07:05 index.html
Now that I've got the server serving my python pages, I'm getting this error:
[Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] (2)No such file or directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py' failed, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] Premature end of script headers: index.py, referer: http://angrynates.com/global_solutions/
Now, the file does exist:
[root@13gems global_solutions]# pwd
/var/www/html/angrynates.com/global_solutions
[root@13gems global_solutions]# ls
...
-rwxr-xr-x 1 victor victor 275 Nov 6 07:05 index.html
...
and it serves just fine on another server, so there is no "premature end of script headers". Please advise.
TIA,
Victor
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos
-- Thanks!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos