FastCGI config problem on RHEL 4.0 w/ Apache 2.0.52

Hello gurus,
I’ve had a Rails app going strong for a month now running as CGI, and
users are finally complaining of the speed. So I’m attempting a FastCGI
setup. I’ve followed the RHEL instructions for fastcgi from the wiki
and googled for a day and am getting nowhere. Anybody have a hint? :slight_smile:


[Sun Feb 12 08:51:01 2006] [crit] (13)Permission denied: FastCGI: can’t
create (dynamic) server
“/var/www/rails/mobmemo_prod/public/dispatch.fcgi”: bind() failed
[Sun Feb 12 08:51:06 2006] [alert] [client] (2)No such file or
directory: FastCGI: failed to connect to (dynamic) server
“/var/www/rails/mobmemo_prod/public/dispatch.fcgi”: something is
seriously wrong, any chance the socket/named_pipe directory was
removed?, see the FastCgiIpcDir directive
[Sun Feb 12 08:51:06 2006] [error] [client] FastCGI:
incomplete headers (0 bytes) received from server

below is when running .dispatch.fcgi from the command line:

[root@prhc-web1 public]# ./dispatch.fcgi
`const_missing’: uninitialized constant RailsFCGIHandler (NameError)
from ./dispatch.fcgi:25