apache2/mod_proxy_balancer woes (part 1)

So I’ve still been trying to get mod_proxy_balancer installed. I tried just getting a compiled mod_proxy_balancer.so and drop it into my existing apache2 install but upon start up I get:

Cannot load /usr/lib/apache2/modules/mod_proxy_balancer.so into server: /usr/lib/apache2/modules/mod_proxy_balancer.so: undefined symbol: proxy_hook_post_request

Looks like I have to do a clean uninstall and reinstall of apache2 from source. I’ll have to resetup svn (svn_dvn) and all my virtual hosts so this blog is going to be MIA while I go through this process.

I can’t wait until the Ubuntu repositories update apache2 to 2.2 so mod_proxy_balancer support will be as simple as apt-get install apache2.

I think the next step is to remove my existing apache2 install and give kodefoo’s tutorial a shot.

apache2/mod_proxy_balancer woes (part 1)

Making regular deposits

Since I graduated college and got a real job, I’ve started to expand my knowledge around the world of investing. I opened up an account at Vanguard and started off with some mutual funds. The problem is I haven’t really put any more money in after that one-time lump sum for opening the account. I need to start making some regular investments through direct deposit or something. Get that dollar-cost averaging to work for me.

Making regular deposits

I need mod_proxy_balancer?

I have been trying to get a rails app served up by a mongrel cluster through apache. All the documentation I’ve looked at says this can be done with an Apache module mod_proxy_balancer. Looks like my apache install using apt-get does not come with that module. Blah! Guess I have to pull down the source and build from source. Hopefully, I don’t break anything!

References:

I need mod_proxy_balancer?

Apache, Tomcat, Rails

It was easier than I thought it would be to install Java and Tomcat. With a few apt-get commands, I had both Java and Tomcat up and running. The next step was to serve Tomcat through Apache. This was done by using the AJP Connector. Tomcat is running with AJP connector port 8009 and I can serve up JSPs and servlet content through Apache who is listening on port 80. Pretty slick 🙂

It was even easier to get a Rails app up and running on WEBrick on default port 3000.

Next steps will be to serve Rails content through Apache.

Apache, Tomcat, Rails