views:

774

answers:

2

http://code.google.com/p/mongoose/
http://shttpd.sourceforge.net/shttpd.1.txt

Trying to configure the lightweight web server shttpd now called mongoose to execute CGI scripts in C.

Does it need a seperate CGI interpreter for C?

A download of shttpd on source forge had separate interpreter exe for perl and php cgi but not sure if that means I need one in C...

+1  A: 

I assume, your CGI executable is a binary executable. If you're on UNIX, rename your CGI executable to have '.cgi' extension. If you're on Windows, and CGI executable has '.exe' extension, specify server option "-cgi_ext exe"

+1  A: 

C is not interpreted - you need to compile your CGI program before it can be run. And for any specific Mongoose questions, you may want to use the support group at http://groups.google.com/group/mongoose-users/topics

anon