apache - how to run fastcgi -


i have fastcgi installed , running. downloaded developerkit fastcgi.com. had examples in it. 1 of example files echos stuff. required .libs , .deps put folders along echo.fcgi file , webroot/cgi-bin. if got echo.fcgi url, works great.

i created simple c file prints hello world. compile using

gcc -wall -o main  -lfcgi  main.c 

what do now? require perl script or php script executed. or, should able put in webroot/cgi-bin folder , go it's url?

thanks this guy found don't need wrapper. if add

appclass "/library/webserver/documents/myfcgitest"

to httpd.conf file. can executable running.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -