Hello,
Am running a CGI script programmed in C in my apache server , the code is throwing some sorts of error with 500 internal server error , from error log i came to know its premature end of script headers when am supposed to troubleshoot it with various resources such as checking the script headers i can' t able to overcome it , i faced same problem with some example program in books too(even hello world), so i made the same program in perl surprisingly it works fine , what might be the reason ?
Am running a CGI script programmed in C in my apache server , the code is throwing some sorts of error with 500 internal server error , from error log i came to know its premature end of script headers when am supposed to troubleshoot it with various resources such as checking the script headers i can' t able to overcome it , i faced same problem with some example program in books too(even hello world), so i made the same program in perl surprisingly it works fine , what might be the reason ?
Comment