Rails fcgi and apache on different machines

Hello,

Is it possible to have apache connect via TCP instead of domain socket
to a
remote rails fcgi server ? How would this be implemented ? I want to
be
able to dedicate separate machines for application and webserving.

thanks
adam