You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1998/06/01 21:31:08 UTC
os-windows/2336: Perl CGI don't work anymore (fwd)
It would be useful if someone who understands the details could add this
CGI environment stuff to the known bugs page.
---------- Forwarded message ----------
Date: 1 Jun 1998 17:59:29 -0000
From: Robert Pouliot <ro...@pch.gc.cs>
To: apbugs@hyperreal.org
Subject: os-windows/2336: Perl CGI don't work anymore
>Number: 2336
>Category: os-windows
>Synopsis: Perl CGI don't work anymore
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jun 1 12:10:01 PDT 1998
>Last-Modified:
>Originator: robert_pouliot@pch.gc.cs
>Organization:
apache
>Release: 1.3b7
>Environment:
Win95 OSR2, Winsock 2.0, distributed version
>Description:
Give this error, while it was working fine with 1.3b6 (and 1.3b3)
[Mon Jun 01 13:47:50 1998] [error] (2)No such file or directory: couldn't spawn child process: d:/home/http/cgi-bin/ls.pl
The script begin with:
#!/usr/local/bin/perl5
There is a file in D:\usr\local\bin\perl5.bat (I created it in C: too)
The batch file call Perl (so I don't have to modify the CGI to u/l them on
the Unix server)
When I change line for:
#!/usr/local/bin/perl5.bat
I get:
[Mon Jun 01 13:43:17 1998] [error] Premature end of script headers: d:/home/http/cgi-bin/ls.pl
I just found out, that Apache seem to clean environment...
(perl is not in PATH anymore, that fix one problem...)
However it seem that the others environment variable don't get passed...
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]