List Info

Thread: How to Configure Custom Fastcgi Server




How to Configure Custom Fastcgi Server
country flaguser name
United States
2007-02-18 16:42:27
Hello all,

I have some fastcgi servers written in C and I would
like to use them with cherokee. They are located in
the fcgi-bin directory, such as:

/usr/local/bin/fcgi/register

And I'd like cherokee to start the fastcgi server (if it's
not running) and forward these requests to it:
http://domain/fcgi/regist
er or even
http://domain/register

I haven't figured out how to configure these fastcgi
servers
in cherokee.conf. I tried something like listed below but
it didn't seem to start the fastcgi server. I'm
particularly
not sure about the "Interpreter" line which I
copied from
PHP fastcgi configuration.

Directory /fcgi/register {
   Handler fcgi {
      Server localhost:8002 {
         Interpreter  "/usr/local/bin/register"
      }
   } 
}

-- 
Best regards,
Jack

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )