>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: [EMAIL PROTECTED] >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 <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
