CGI Bin and C Programming Language

bmcpanel

Well-Known Member
Jun 1, 2002
544
0
316
I have a customer who has a script built with C language. He is getting a 500 error when he runs a C script from his cgi-bin. Even a simple "Hello World" script gives a 500 error.

1. Cpanel servers support C, don't they.
2. What common problems with a C script might cause a 500 error?

Thanks.
 

bmcpanel

Well-Known Member
Jun 1, 2002
544
0
316
I know what you're getting at. I asked the customer the same thing and am waiting for him to test it outside the cgi-bin.
 

michaeln

Member
Nov 20, 2001
18
0
301
Make sure the script has a .cgi extension.

Also make sure that it is chmod to 755 or better.

and ofcoarse I don't think I need to mention, make sure the script has been compiled... ;)

Regards,
Michael