| David Wang [Msft] 2005-06-25, 8:47 pm |
| Actually, IIS does not generate <HTML><BODY></BODY></HTML> unless something
on the server did it. So, I'm pretty certain that the CGI script didn't
generate a response, and that the web browser is translating the bad
response into the empty HTML that you see (i.e. if you use a tool like wget
or wfetch you will likely see the real response, not whatever the browser
interprets).
I have a feeling that the CGI you were trying to run has some Apache
behavior dependency and thus didn't work on IIS. I have yet to see a
properly written CGI that is very aware of its dependencies fail to run on
IIS/Apache. When you see it work on one but not the other, it usually
indicates that the CGI author did something wrong. Did you get any
indication that the BCB Web App runs on IIS and if so, the correct
configuration steps? If you have a URL to the instructions, I can certainly
check it out.
Because if not, it seems like the app just didn't support IIS and caused you
problems -- which would be failure by-design and says nothing about IIS
ability to run web applications.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?mj@critical> wrote in
message news:e8JtoNKeFHA.1448@TK2MSFTNGP14.phx.gbl...[vbcol=seagreen]
> "ChuckSearcy" wrote:
Here's another reason to use the Uniserver Apache package at SourceForge.net
I simply could not get IIS 5.1 to run CGI scripts (BCB Web Apps .exe files)
under XP Pro, despite being logged in as a user with admin privileges. The
app
would (seemingly) be launched, but nothing but a blank screen comes back
with
the html source code <HTML><BODY></BODY></HTML>. The app never generates
such
code, so it must be from IIS, but why and where? What I need to do to get
this
working is not obvious at all, and, as a programmer, I feel that this is
inappropriate. Under Win98, it always worked fine! XP has some weird ideas
about what an administrator is!
I also tried BRS WebServer and this was easier to set up, but still didn't
run
..exes from a nominated cgi directory. Apache 2 is the best of the bunch
IMHO,
but it is still not as user-friendly as it could be.
What we all want really, is a simple application that installs on the PC and
acts as a webserver to localhost only by default, but can be made available
to
the outside world if access is granted. This would be so useful for
developers
of web apps, I cannot understand why we still have to struggle with these
rickety products.
--
Mark Jacobs
http://www.dkcomputing.co.uk
|