500 Internal server error PLEASE HELP

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
talktoa
-


Joined: 09 Sep 2005
Posts: 1

PostPosted: Fri Sep 09, 2005 1:23 pm    Post subject: 500 Internal server error PLEASE HELP Reply with quote

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
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group