Getting http 500 internal server error
Jeff Lu
jklcom@mindspring.com
Mon Nov 20 14:06:00 GMT 2000
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
More information about the Cygwin
mailing list