Since httpd is replacing apache/nginx, and httpd supports FastCGI,I thought I would learn how to develop native FastCGI applications.But I seem to be having trouble understanding how httpd.confspecifies how to interact with the FastCGI applications. Just to get things started, I was hoping to find a "hello world" equivalent.From the FastCGI.com website, I took the 'tiny-fcgi.c' example program(http://www.fastcgi.com/drupal/node/6?q=node/21#S3)I've gotten it to compile, and linked it statically(so its easier in the /var/www/ chroot)It doesn't read from stdin, just writes a generic text/html message inresponse to any invocation. But at fastcgi.com documentation, for "Running applications" is rather scant:"Web servers support FastCGI via new configuration directives. Since thesedirectives are server-specific, get more information from the documentation thataccompanies each server"The FastCGI whitepaper does not say that sockets are used, but rather"The Web server creates FastCGI application processes to handle requests. Theprocesses may be created at startup, or created on demand."Also, man httpd.conf says only a few lines about the 'fastcgi' directive I've tried configuring httpd.conf to just test the connection betweenhttpd and 'tiny-fcgi'but all I get are 500 error "Internal Server Error"with no information in the /var/www/logs/error.log
If I have 'tiny-fcgi' compiled and linked statically and placed at /var/www/cgi-bin/tiny-fcgi- do I need to have it running as a server, and if so, how to start it? /var/www/cgi-bin/tiny-fcgi &or some other way (to get a socket?)- how should I configure or what directives should I put in httpd.conf ?I tried:-------server "default" { listen on $ext_addr port 80 location "/cgi-bin/tiny-fcgi" {  fastcgi  root "/" }}------but just get 500 internal server error I have searched google for FastCGI+httpd+openbsd, but have only seen thingsabout using the slowcgi proxy method or stuff about getting PHP-fpm to work.I would love some pointers about basic FastCGI native application building. thank you for any help