talktoa -
Joined: 09 Sep 2005 Posts: 1
|
Posted: Fri Sep 09, 2005 1:23 pm Post subject: 500 Internal server error PLEASE HELP |
|
|
I am trying a simple program & its giving me a internal server error. Its a cgi program in C. I have made it in Turbo C. Then made the executable. Renamed it to test.cgi & typed the following as the URL=http://localhost/cgi-bin/test.cgi
Its giving 500 Internal server error
/*=============================================*/
#include <stdio.h>
int main() {
printf("Content-type: text/html\n\n");
return 0;
}
/*=============================================*/
Above is that code which is not working.
Plases help |
|