making the world a stranger place

Site menu:

Archives

Links:

Github

Amazon Ad

Tags

Meta

Apache Virtual Hosts & HAProxy

When checking pages with option httpchk against an apache server with virtual hosts setup, you have to remember to put the full domain to what you want to check. This is because if you don’t have the domain, Apache won’t know which virtual host to sent the request to, and you could get pages that are UP showing DOWN, or worse, pages that are DOWN showing UP.

Another thing to remember is using option forwardfor, which passes the domain along with the request, so it will go to the right virtual host.
Read more »

Apache 2.2 +mod_balancer, Rails and You

At work, we have a couple of internal applications powered by Ruby on Rails, such as our jobs board, and our customer management system. We use several technologies to make sure that our internal applications have 99.999% uptime. Over the next few weeks, I’m going to go over some of the things that we use to keep our uptime high and ease of development…umm…easy. Read more »