[Tue Dec 19 20:16:15 2000] [error] [client 127.0.0.1] couldn't spawn child
process: c:/program/apache group/apache/cgi-bin/htmlsearch.cgi
In english (or swedish), what does it mean?
regards Lars
One possibility is that the path to perl.exe on the shebang line of
your cgi program is incorrect.
It should be something like: #!c:/perl/bin/perl -Tw
--
Regards,
Dick
Sent via Deja.com
http://www.deja.com/
OK, I have an .html that contains a form.
The form calles for http://localhost/cgi-bin/htmlsearch.cgi with a dir and a
file. But when I press the submitbutton the stupid browser wants to download
the cgi-file instead of executing the script I called for.
Why??
regards Lars
"Dick Latshaw" <lats...@my-deja.com> skrev i meddelandet
news:91ofc1$ejm$1...@nnrp1.deja.com...
Lars Svensson wrote:
> Well, it was a stupid mistake by me.
> I wrote #!/c:\Perl\bin\perl.exe instead of #!c:\Perl\bin\perl.exe.
> Once I扉e got that fixed the next problem comes along.
>
> OK, I have an .html that contains a form.
> The form calles for http://localhost/cgi-bin/htmlsearch.cgi with a dir and a
> file. But when I press the submitbutton the stupid browser wants to download
> the cgi-file instead of executing the script I called for.
>
> Why??
>
> regards Lars
You need to check your apache configuration. Also you might want to post your
apache questions
to the appropriate newsgroup.
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the
client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
[snipped]
The server is not recognizing your cgi program as an executable. This
is a server configuration issue and off topic for this news group. Try
the FAQ's at www.apache.org.