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 at 13gems global_solutions]# pwd /var/www/html/angrynates.com/global_solutions [root at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091106/cb4faca8/attachment-0003.html>
Victor Subervi schrieb:> 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 at 13gems global_solutions]# pwd > /var/www/html/angrynates.com/global_solutions > [root at 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"No such file or directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py'" and -rwxr-xr-x 1 victor victor 275 Nov 6 07:05 index.html Think about it. Alexander
Victor Subervi wrote:> 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 > <http://angrynates.com/global_solutions/index.py>'That says it's looking for 'index.py' ...> -rwxr-xr-x 1 victor victor 275 Nov 6 07:05 index.htmlThat says 'index.html' ... two completely different files. -- H | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin . 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Verdana">index.py and index.html are different files:<br> </font></font><br> /var/www/html/<a moz-do-not-send="true" href="http://angrynates.com/global_solutions">angrynates.com/global_solutions</a><br> [root@13gems global_solutions]# ls<br> -rwxr-xr-x 1 victor victor 275 Nov 6 07:05 index.html<br> <br> exec of '/var/www/html/<a moz-do-not-send="true" href="http://angrynates.com/global_solutions/index.py">angrynates.com/global_solutions/index.py</a>' failed<br> <br> <br> Victor Subervi wrote: <blockquote cite="mid:4dc0cfea0911061156x35f61bb0qcc9479f5d834ba51@mail.gmail.com" type="cite">Now that I've got the server serving my python pages, I'm getting this error:<br> <br> [Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] (2)No such file or directory: exec of '/var/www/html/<a moz-do-not-send="true" href="http://angrynates.com/global_solutions/index.py">angrynates.com/global_solutions/index.py</a>' failed, referer: <a moz-do-not-send="true" href="http://angrynates.com/global_solutions/">http://angrynates.com/global_solutions/</a><br> [Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] Premature end of script headers: index.py, referer: <a moz-do-not-send="true" href="http://angrynates.com/global_solutions/">http://angrynates.com/global_solutions/</a><br> <br> Now, the file does exist:<br> <br> [root@13gems global_solutions]# pwd<br> /var/www/html/<a moz-do-not-send="true" href="http://angrynates.com/global_solutions">angrynates.com/global_solutions</a><br> [root@13gems global_solutions]# ls<br> ...<br> -rwxr-xr-x 1 victor victor 275 Nov 6 07:05 index.html<br> ...<br> and it serves just fine on another server, so there is no "premature end of script headers". Please advise.<br> TIA,<br> Victor<br> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ CentOS mailing list <a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a> <a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Thanks!</pre> </body> </html>