Haecceity

A Biolog

colophon

Posted by Thom May Fri, 19 May 2006 13:47:00 GMT

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 | 2 comments | Tags , , , , | 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

Comments

Leave a response

  1. Alexander Toresson
    37 minutes later:
    Sorry to say it, but well, you're probably interested in how your posts appear on planet debian.
  2. Thom
    about 3 hours later:
    Yeah, it's actually a problem with Planet - it needs to be upgraded to cope with Atom1.0 - I've dropped Mako a mail asking him to upgrade... Thanks!

Leave a comment