Apache and Mongrel

Persistence.jpg

I feel like that tree in the picture. Most of my day was on the horizontal portion, feeling like I was making no progress. One would think that getting Mongrel working with Apache should be fairly straightforward. Not so. At least not on Ubuntu 7.10. Among other things, it turns out that this distribution has a well-known bug which requires a work-around involving installing the build-essential and ruby1.8-dev packages. Once I tracked those issues down, at least I could launch Mongrel. Since I'm not yet in production mode, I briefly played with a cluster, but backed out of it. So finally I was able to access the static Apache content on port 80 and the Rails content on port 8000.

The last item was to create a proxy so that everything would be accessible on port 80. Again, one would think that this should be easy. Again, not so. I searched for hours before I found that enabling mod_proxy simply meant enabling proxy. Consistency is everything! Now I've been able to test access from the outside world, but there's still a proxy issue. However, it's been another long learning day, so off to read for a bit then call it a day. This is after all still a development environment, and it's time I get back to development.

Oh, and yes, I'm still reaching for the sky....

Posted: 11/20/2007

 

Previous

Next

 

Contact and Trademark Information

 

© MMV, MMIX Joseph Federer