| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | "Jeff Lu" <jklcom AT mindspring DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Getting http 500 internal server error |
| Date: | Mon, 20 Nov 2000 16:58:53 -0500 |
| Message-ID: | <NDBBIHPECLIGKCCLMACAAEOHCHAA.jklcom@mindspring.com> |
| MIME-Version: | 1.0 |
| 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 <stdio.h>
#include <string.h>
int main()
{
char contentType[] = "text/html";
/* setup the html document header */
printf("Content-Type: %s\n\n", contentType);
printf("<html>testing</html>");
return(0);
}
Thanks
-Jeff
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |