We want to change servers from M$oft IIS to Apache 1.3 for NT. However in
testing all our existing sites, I've come across a weird problem I can't
solve.
We have several .exe CGI programs for doing remote maintenance of our
servers. They serve HTML pages from a directory below the executable. In
other words if the URL is
http://www.mydomain.com/cgi-bin/serveradmin.exe
and serveradmin.exe is in s:/web/cgi-bin (we using a virtual host for these
with the pages on a secured partition) the HTML page returned is in
s:/web/cgi-bin/html
This work fine under IIS, Netscape, Website etc. But under Apache the HTML
page is displayed without any graphics and the error log states
[Sun Jan 25 18:12:24 1998] [error] (8)Exec format error: couldn't spawn
child process: s:/web/cgi-bin/html/img/veriseal2.gif
Why is Apache trying to execute a graphic? Especially one which is a known
MIME type?
Is there a switch I can't find in the docs which will overcome this? We're
selling these executables to other webmasters so I want them to work the
same way with all web servers.
BTW the pages work fine if they are moved to the document root.