This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Getting http 500 internal server error
- To: <cygwin at cygwin dot com>
- Subject: Getting http 500 internal server error
- From: "Jeff Lu" <jklcom at mindspring dot com>
- Date: Mon, 20 Nov 2000 16:58:53 -0500
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@sourceware.cygnus.com