Ok, after the earlier weirdness with stopping my mongrel cluster I’ve
now got things to the point where I’m working on the Apache proxy and
after following the instructions from various sources, it doesn’t work.
Most everyone says to set up
and so on
But that just blows out Apache 2.2.8 with a complaint about “can’t mix *
ports with non * ports”. To elminate that error I put the host name or
ip address in place of the *. Then most everyone’s instructions assumes
that there’s a directory “logs” inside /etc/apache2, but on Ubuntu 8.04
Apache 2.2.8 keeps it’s logs in /var/log/apache2 so those instructions
have to be changed for that config.
The final killer is that having done all that the proxy balancer is now
refusing to pass on the request. The error logs show
[error] [client 192.168.1.15] client denied by server configuration:
the mongrel cluster is set up as
Taken from p 156 of Deploying Rails Applications
Oddly, even though I’m starting the mongrels on 127.0.0.1 I can access
them on the machine’s public address so 192.168.1.12:8000/something lets
me in, but 192.168.1.12/something blows me out with the above error in
Any ideas? Or should I give up and use Passenger?