public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* CGI using gcc
@ 1997-10-08 14:47 Abbas Birjandi
  1997-10-09 16:37 ` Kermit Tensmeyer
  0 siblings, 1 reply; 2+ messages in thread
From: Abbas Birjandi @ 1997-10-08 14:47 UTC (permalink / raw)
  To: gnu-win32

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.

Can anyone help?  Have you compiled any CGI using gcc that works?
Thanks for the help.

regards,

Abbas


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CGI using gcc
  1997-10-08 14:47 CGI using gcc Abbas Birjandi
@ 1997-10-09 16:37 ` Kermit Tensmeyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kermit Tensmeyer @ 1997-10-09 16:37 UTC (permalink / raw)
  To: Abbas Birjandi; +Cc: gnu-win32

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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-09 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-08 14:47 CGI using gcc Abbas Birjandi
1997-10-09 16:37 ` Kermit Tensmeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).