www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <william.sm...@benefon.fi>
Subject Re: os-windows/3261: Does not execute binary executable files ( .exe)
Date Thu, 22 Oct 1998 10:16:40 GMT


I just tried it with a 32-bit console version of the same program.
This program also works normally in the same computer
when invoked outside of the Apache environment.

When I try to invoke the program from another computer using Netscape, I
a document back "Internal Server Error".
It complains of "Malformed header from script. Bad
My test Perl script still works like before.

Possible problems.
-Apache may not recognize that it is a binary executable.
-It may still not recognize Windows executables.
-It does look for a header and does not find it, which seems to indicate it
does not
recognize that it is indeed a binary Windows executable.

If you would like to have a copy of the CGI program, I can send it upon
Let me know if I can be of further help.


William Smith

William Smith WS
22/10/98 12:11

Sent by:  William Smith WS

To:   kparz@raleigh.ibm.com
Subject:  Re: os-windows/3261: Does not execute binary executable files
      (.exe)  (Document link not converted)

kparz@raleigh.ibm.com on 21/10/98 16:55:17

To:   apache-bugdb@apache.org, kparz@raleigh.ibm.com,
cc:    (bcc: William Smith WS)
Subject:  Re: os-windows/3261: Does not execute binary executable files

[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. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

Synopsis: Does not execute binary executable files (.exe)

State-Changed-From-To: open-feedback
State-Changed-By: kparz@raleigh.ibm.com
State-Changed-When: Wed Oct 21 06:55:15 PDT 1998
What Win32 system are you using (e.g. Windows NT, Win95,
Win98)?  When apache starts what is the specific release
number (e.g. 1.3.3, 1.3.4 dev)?
Are you executing from the cgi-bin directory?
Is ScriptAlias set up correctly?  Is the CGI 16-bit or

The actual release is 1.3.3, downloaded last Friday from Apache's web site.
The OS is Windows 95
The execution was done from the CGI-BIN directory. (Perl scripts work from
the same directory.)
The program is a DOS command-line program, compiled with an old Borland Dos
compiler, so
it is 16 bit. It works outside of the Apache environment on the same

Next week I can try it with the latest Borland C++ compiler, as I have
ordered it.

Should Apache for Windows 32 execute scripts based on what the file
extension is associated
with in the Windows OS, or should it use the UNIX #!/path/to/interpreter
convention? Or either/or?


View raw message