Hello everyone,
I want to use Xampp for executing C code.
My c file name is abc.c
So, what I did, as i do in linux (fedora 9), I compiled the code
gcc -o abc.cgi abc.c
now i put this .cgi file in cgi-bin folder and things work fine in fedora.
But when I put abc.cgi in cgi-bin folder in xampp it doesnt work. In both cases i've my html file in html folder (in fedora) and htpdocs in xampp.
here is the following error i get
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
localhost
07/21/09 12:17:14
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9
thank you in advance