>Number:         1712
>Category:       os-windows
>Synopsis:       CGI-executables other than .exe won't execute
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jan 21 02:30:00 PST 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b3
>Environment:
Windows NT service pack 3.  Apache 1.3b3 binary distribution.
>Description:
I am evaluating Netscape Calendar Server and Directory Server on Windows NT 4.0.
These servers come with a number of CGI-programs having extension .cgi and also
having no extension at all (like in those good old UNIX days).
The problem is that Apache fails to spawn child
processes from those programs.  As a work-around, I changed the file-extensions
of those programs into .exe, and Apache had no trouble with executing them.
>How-To-Repeat:
Put an executable in c:\apache\cgi-bin, call it doit.cgi
srm.conf contains ScriptAlias /cgi-bin/ /apache/cgi-bin/
Try the URL: http://apachehost/cgi-bin/doit.cgi
You get: Internal Server Error
error_log says:
[Wed Jan 21 10:52:49 1998] [error] (2)No such file or directory: couldn't spawn 
child process: c:/apache/cgi-bin/doit.cgi
Rename doit.cgi to doit.exe
Try the URL: http://apachehost/cgi-bin/doit.exe
Try the URL: http://apachehost/cgi-bin/doit

Both URLs now work fine.
>Fix:
No, sorry
>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. ]



Reply via email to