This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Getting http 500 internal server error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]