Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Jeff Lu" To: Subject: Getting http 500 internal server error Date: Mon, 20 Nov 2000 16:58:53 -0500 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-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Hi, I've compiled a test cgi program that runs fine in windows/DOS session. But I'm getting Http 500 internal server error when tried to execute it through web browser in an intranet environment. What am I missing here? Here's the source code for the test program: #include #include int main() { char contentType[] = "text/html"; /* setup the html document header */ printf("Content-Type: %s\n\n", contentType); printf("testing"); return(0); } Thanks -Jeff -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com