what to do with compile fcgi executable

Posted by joels on Stack Overflow See other posts from Stack Overflow or by joels
Published on 2010-04-25T18:08:39Z Indexed on 2010/04/25 18:13 UTC
Read the original article Hit count: 268

Filed under:

I have fastcgi installed and running. I downloaded a developerkit from fastcgi.com. It had some examples in it. One of the example files echos some stuff. It required a .libs and a .deps I put those folders along with a echo.fcgi file and into the webroot/cgi-bin. If I got to the echo.fcgi url, it works great.

I created a simple c file that prints hello world. I compile it using

gcc -Wall -o main  -lfcgi  main.c 

What do I do with it now? Does it require something like a perl script or php script to be executed. Or, should I just be able to put it in the webroot/cgi-bin folder and go to it's url?

© Stack Overflow or respective owner

Related posts about fastcgi