Fwd: Re: [Tutor] Problems with test cgi script on windows XP/Apache
tim at johnsons-web.com
Mon Feb 14 21:35:45 CET 2005
>Date: Mon, 14 Feb 2005 10:25:28 -0900
>From: Tim Johnson <tim at johnsons-web.com>
>Subject: Re: [Tutor] Problems with test cgi script on windows XP/Apache
>To: Tim Johnson <tim at johnsons-web.com>
>X-Mailer: QUALCOMM Windows Eudora Version 18.104.22.168
>At 12:22 PM 2/13/2005, you wrote:
>>I'm attempting to run a test cgi script on windows xp with apache
>>as the http server. I keep getting a not found error from IE, and the
>>error log shows the following error message.
>>No such file or directory: script not found or unable to stat: c:/program
>>Another cgi script using a different interpreter (rebol) is running
>>properly. I was receiving
>>the same error message with the rebol script until I corrected the first
>>here is the code for the script:
>>print "Content-type: text/html\n"
>>## I can confirm the the first line does contain the correct path to
>>## the python executable. I have tried it with and without the ".exe"
This has been solved. Classic, just classic. I had created a test script,
and named it "test.py". Hah! windows renamed it "test.py.py", and it
was obfuscated when I edited it. One could say either:
1)Dumb windows newbie
2)Dumb windows strategy
I'll leave that one up to the reader.
>>Tutor maillist - Tutor at python.org
>>__________ NOD32 1.998 (20050212) Information __________
>>This message was checked by NOD32 Antivirus System.
>__________ NOD32 1.998 (20050212) Information __________
>This message was checked by NOD32 Antivirus System.
More information about the Tutor