On Thu, 3 Jan 2002, Ron Savage wrote: > This is a copy of a msg I just sent to Randy instead of the list. > > I'm sending it to the list so others, and the archiver, will see it.
> > ----- Original Message ----- > > From: "Randy Kobes" <[EMAIL PROTECTED]> > > To: "Ron Savage" <[EMAIL PROTECTED]> > > Cc: "mod_perl" <[EMAIL PROTECTED]> > > Sent: Thursday, January 03, 2002 1:58 PM > > Subject: Re: Win32 modperl-2 binary > > > > > > > > I don't know what would cause this ... The service started > > > successfully on both my Win98 and Win2K machine - perhaps it's > > > something to do with NT ... Would you happen to have another > > > Apache2 binary installed before that had installed an "Apache2" > > > > No. This was the first ever Apache2 I d/l-ed and tried to install. > > > > > service? What if you try installing a service by a different name > > > than the "Apache2" default - is that any different? > > > > No. That's too bad ...:( There's probably some more work that needs to be done in getting the service working right ... By the way, if you disable modperl, does it work? > > > > I can get d:/apache/cgi-bin/test.bat to work with > > > > http://127.0.0.1/cgi-bin/test-cgi.bat. > > > > > > > > But, if I patch the she-bang line of > > > > d:/apache/cgi-bin/printenv.pl and then try > > > > http://127.0.0.1/cgi-bin/printenv.pl, I get: Server error! > > > > Error message: couldn't create child process: 22502: > > > > D:/Apache2/cgi-bin/printenv.pl If you think this is a server > > > > error, please contact the webmaster Error 500 127.0.0.1 > > > > 03/01/02 12:15:29 Apache/2.0.30-dev (Win32) > > > > mod_perl/1.99_01-dev Perl/v5.6.1 > > > > > > > Do you have the shebang line as, eg, > > > #!/Perl/bin/perl.exe > > > (ie, with the .exe extension). The printenv.pl script, with > > > this change, works for me; without the .exe extension, I > > > get the error you noted ... > > > > Weird. > > > > I added .exe to the she-bang line and it ran, but... > > o) Will we have to do that for every script? Not happy > > o) IE offers to download the output of printenv.pl. I saved > > it in a disk file and it is the %ENV Does it work if you specify the Perl binary as #!D:/Perl/bin/Perl.exe ie, with the drive letter, and in a case-sensitive manner? Probably this aspect of cgi scripts is also work in progress .. best regards, randy