httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshuah Goldstein <mrbigleswor...@yahoo.com>
Subject Re: [users@httpd] cgi process spawn error
Date Thu, 26 Dec 2002 13:14:44 GMT
I tried changing the shebag line with both / and \ and \\'s
but it worked only when I added that
'ScriptInterpreterSource registry' line.
The script is the default one that comes with the windows
Apache download.

--- Gary Turner <kk5st@sbcglobal.net> wrote:
> Joshuah Goldstein wrote:
> 
> >Hello, I am trying to configure Apache, which I just
> >downloaded today, for my winME computer.
> >I am specifically having trouble getting the sample perl
> >script to run.
> >Here is the error:
> >[Wed Dec 25 16:43:50 2002] [error] [client 127.0.0.1]
> >couldn't spawn child process: c:/program files/apache
> >group/apache/cgi-bin/printenv.pl
> <snip>
> >I made sure that the .pl extension was associated with
> >Perl.exe and when I double-click on the .pl file in the
> >windows folder it seems to run OK.
> 
> That only matters to your legacy OS, I think.  The
> script, itself, needs
> to tell Apache how to run the script.  The extension
> doesn't matter.
> The first line needs to have a hash-bang (or shebang)
> statement, eg.,
> #!/usr/bin/perl on my machine (Debian Linux).  Were I
> running Apache on
> my Windows box, (perish the thought) the line would be
> #!/cygwin/bin/perl.exe.  It may need to use MS syntax,
> C:\cygwin\....
> 
> You may have a different problem, but since you didn't
> post the script,
> and you say it runs outside Apache, this is a first
> thought.
> --
> gt           kk5st@sbcglobal.net
> The advice is free, and worth every cent.
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the Apache
> HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more
> info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message