This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: CGI using gcc
- To: Abbas Birjandi <abirjandi at fr dot ibm dot com>
- Subject: Re: CGI using gcc
- From: Kermit Tensmeyer <kermit at ticnet dot com>
- Date: Thu, 09 Oct 1997 13:12:02 -0500
- CC: gnu-win32 at cygnus dot com
- References: <5060200005471053000002L032*@MHS>
Abbas Birjandi wrote:
>
> FormName:
> SwipeFrom: Abbas Birjandi/France/IBM @ IBMFR
> ValidationTesting: 0
> oldfrom: Abbas Birjandi/France/IBM
>
> Hi,
> I have a written a cgi code that compiles fine with gcc. But when I try it
> along my html page, I get the error that the CGI did not retrun correct header
> info...
> However, the same program compiled by MS C++ compiler, works fine and
> I do not get any such errors.
>
> I am running Windows NT 4.0 workstation.
The general method to resolving this type of problem is to examine the
headers
that are being generated.
try executing the program from the command line and
pass in the correct parameters. examine the contents of
the standard out file.
examine the headers that the software sends out. You may find that
the header is missing a "\n\n" just after the first line.
--
-------
Kermit Tensmeyer (IBM E & T - Networking)
Kermit@ticnet.com Dallas
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".