Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "John McAllister" To: Subject: CGI Problem - only part of file written to HTML page Date: Tue, 18 Feb 2003 11:00:33 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Hello, I have a problem with my CGI program in the Cygwin environment. I am using C as the cgi-programming language. I am developing an application on a UNIX platform, and I use Apache as the server. My cgi works fine in the UNIX environment at work, but I wanted to be able to work on it at home. So I turned to cgywin. I have downloaded apache to my local computer, so that my PC becomes the client and server. I have configured apache correctly, and can see some of my webpages. The problem is that all my javascript and HTML is not being written out properly. My C program reads in an (already written) javascript textfile into a file. This file is then printed out along with the HTML headers and body etc. On the LAN at work, using UNIX, everything works perfect. I merely copied all of the necessary files to cygwin. From cygwin, the HTML headers are printed out, and about half of the javascript text file is written out - but then the output has suddenly stopped. I am fairly new to cygwin and cgi-programming, but I believe this to be a cygwin problem - because my application works fine in its native environment. Suggestions please! Thanks, John McAllister -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/