httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allan Edwards" <...@raleigh.ibm.com>
Subject RE: [Win32] CGI batch file problem?
Date Sat, 30 Jan 1999 21:27:54 GMT
try this:

@echo off
echo Content-type: text/html
echo.
echo SERVER_SOFTWARE = %SERVER_SOFTWARE%

Allan
> -----Original Message-----
> From: new-httpd-owner@apache.org [mailto:new-httpd-owner@apache.org]On
> Behalf Of Marc Slemko
> Sent: Saturday, January 30, 1999 3:55 PM
> To: Apache
> Subject: Re: [Win32] CGI batch file problem?
> 
> 
> On Sat, 30 Jan 1999, Paul Sutton wrote:
> 
> > Erm, something seems to be up with CGI execution of batch files, unless
> > I'm doing something strange.
> 
> Why do you think the behaviour you are seeing is odd?
> 
> What you are probably getting from the .bat file is a blank line, then
> the output you see to the client.  A blank line terminates the CGI 
> headers, which happen to be empty.  The rest is what you should get.
> 

Mime
View raw message