Topic: Mongrel/Apache Proxy Problem

Hello All,

    I have followed the deployment instructions in the Agile Web Development book as closely as possible.  I have a working CVS repository, capistrano, migrations, and mongrel.  I know mongrel is working on the server because I get the proper response when I access port 8000 on the server using curl.  However, I can't get there from the outside world.  I get this in my browser:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.2.4 (Fedora) Server at springo.com Port 80



Here is what is in my /var/log/httpd/error_log file:


[Tue May 15 01:03:16 2007] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Tue May 15 01:03:16 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 15 01:03:16 2007] [notice] Digest: generating secret for digest authentication ...
[Tue May 15 01:03:16 2007] [notice] Digest: done
[Tue May 15 01:03:16 2007] [notice] Apache/2.2.4 (Unix) DAV/2 configured -- resuming normal operations
[Tue May 15 01:03:21 2007] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8000 (127.0.0.1) failed
[Tue May 15 01:03:21 2007] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)

I have disabled all firewalls I can find.  Perhaps there is one hiding somewhere.

Any help would be appreciated.

Regards,

jon

Re: Mongrel/Apache Proxy Problem

Looks like SELinux was the culprit.  Had to do this following to allow httpd to talk to mongrel:

setsebool httpd_can_network_connect true