colophon
Quick entry on how this blog is coming to you, should anyone happen to care.
It’s a Typo install off Typo’s Subversion trunk. This pulls in trunk of Rails via an svn:external.
Originally I was going to be super-brave and use the FCGI proxy module backported from Apache trunk, but I decided I’m not that brave, so I used some slightly less bleeding edge code.
I upgraded to Apache 2.2.2 and ensured I had mod_proxy_balancer , mod_proxy_http and mod_proxy loaded.
I then installed Mongrel and ran that in my typo checkout like so: mongrel_rails start -d -e production -p 3000; this brings up mongrel on port 3000 and sets Rails into production mode rather than the standard development mode.
Having checked that the install on the high port was working correctly, I then configured Apache to properly connect to it. First I set up a very small - I only have one server, but I wanted to play with the technology - balancer config:
<Proxy balancer://server>
BalancerMember http://server:3000
</Proxy>
I then set up a VirtualHost as usual, but added the following lines to force content onto the load balancer.
ProxyPass / balancer://server/
ProxyPassReverse / balancer://server/
Posted in tech | 2 comments | atom
Trackbacks
Use the following link to trackback from your own site:
http://haecceity.clearairturbulence.org/trackbacks?article_id=colophon&day=19&month=05&year=2006
37 minutes later:
about 3 hours later: