www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@raleigh.ibm.com (Shane Owenby)
Subject Re: os-windows/3501: Couldn't spawn child process (EXE)
Date Wed, 09 Dec 1998 19:00:02 GMT
The following reply was made to PR os-windows/3501; it has been noted by GNATS.

From: shaneo@raleigh.ibm.com (Shane Owenby)
To: oscarm@grupossy.com
Cc: apbugs@apache.org
Subject: Re: os-windows/3501: Couldn't spawn child process (EXE)
Date: Wed, 9 Dec 1998 13:47:27 -0500 (EST)

 >  The cgi:
 >  
 >  	phf_abuse_log.cgi
 >  suministrated with Apache 1.3 doesn´t work and the server returns the next
 >  message:
 >  Couldn't spawn child process.
 
 The script you are trying to execute for 1. is a perl script
 2. was developed for Unix  
 
 So 1.  do you have perl installed, 2. I am not sure ifthe script will work
 on Win32 or not.
 
 Why don't you try a script like this:
 #!c:/perl/perl.exe
 print "Content-type: text/html\r\n\r\n<BLINK>Smile, you're on Candid Camera.</BLINK>\n";
 
 remember to replace the #! line with your path to the perl interpreter...also
 make sure you have perl installed, or test with the below batch file.  This
 will show you that there is nothing wrong with Apache's cgi's on win32:
 ////put in file somethig like cgibat.bat/////
 @echo off
 echo "Content-type: text/html"
 echo.
 echo It works
 
 Then request http://youmachien/cgi-bin/cgibat.bat
 
 Don't forget the . after the second echo it is essential for the cgi to work.
 
 If the above doesn't work take a look at your ScriptAlias directive in
 httpd.conf
 Shane
 

Mime
View raw message