Skip to main content.
home | support | download

Back to List Archive

Re: win port of latest swish.cgi

From: Bill Moseley <moseley(at)>
Date: Mon Feb 18 2002 - 01:25:02 GMT
At 05:09 PM 02/17/02 -0800, SRE wrote:
>At 05:24 AM 2/17/02, Bill Moseley wrote:
>>Can't exec "./swish-e": No such file or directory at
>>/usr/local/apache/htdocs/swishtest/swish.cgi line 1461.
>This might NOT be your problem, but Apache on Windoze really DOES
>respect the #! line at the top of CGI scripts. The message you get
>when that points to a Unix path instead of a DOS path seems like
>sort of what you're reporting. I get:
>>>>No such file or directory: couldn't spawn child process: 
>I have some CGI scripts that use this line on my Unix server:
>  #!/usr/bin/perl -Tw
>and I have to switch them to this line for my Windoze sandbox:
>  #!D:\software\perl\bin\perl.exe -Tw

That's good advice.

In this case they can run the script so that means the #! line is probably
working.  They just are not getting any documents returned from their
query.  The above error is for the swish-e binary, not for the script.


Bill Moseley
Received on Mon Feb 18 01:25:19 2002