httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject os-windows/2336: Perl CGI don't work anymore (fwd)
Date Mon, 01 Jun 1998 19:31:08 GMT
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 <robert_pouliot@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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message