Latest News >> 2008-09-29

I read Obie’s most recent post about his intense passion for Loverboy’s quintessential anthem, “Lovin’ Every Minute Of It”. I find the early 1980’s music is inspiring and uplifting and definitely suited to such important things as corporate culture, recruiting, and motivating the troops to do better. Yes, nothing gets a worker working better than a little Loverboy right in their ear.

2008-09-25

Don’t forget folks, the FU NYC show will be in a few hours (7pm-9pm). I’ll be icecasting this one at http://zedshaw.com:8000/fu_nyc and as usual you can use VLC, mplayer or many other players to play the stream.

2008-09-17

I got into music school last week and I’m going to study guitar exclusively for the next year. This is something I’ve always wanted to do, but just never had the chance. Either I wasn’t good enough (being self-taught for so many years) or I just didn’t have the money. After being laid off and getting a small package I decided to practice my ass off on the guitar, do a few live shows to get ready, and then audition for a school in the city.

2008-09-04

The Freehackers Union NYC show went insanely well. I managed to pull off a full live internet feed of the audio to people in FU and the show at the same time. We had about 10 newbies show up to give their first five minutes and 11 listeners on IRC/icecast. Some people showed up just to hang out, so we relaxed the rules and let them stay to build an audience. Overall, there were some cool projects presented and everyone had a good time.

Win32 Support

Curt Hibbs has done some great work getting Rails to work on Win32 with Apache1 and Apache2. He has even rebuilt the mod_scgi.so files for both web servers and tested the configuration. Hopefully his built .so files will work, but he’s told me that he’s fed his changes back to the SCGI developers for inclusion later.

Getting The mod_scgi.so Files

You can get Curt’s builds of the apache modules at the downloads directory as .zip files:

Apache Configuration

Curt also has these instructions for the Win32 configuration, which are pretty similar to the apache2 instructions.

Changes to Apache’s httpd.conf

In both cases I added this immediately after the the LoadModule of mod_rewrite (make sure mod_rewrite is uncommented):

LoadModule scgi_module modules/mod_scgi.so

For apache 1 only, add the following immediately after the AddModule of mod_rewrite:

AddModule mod_scgi.c

Apache2 doesn’t use AddModule.

Add this to connect to your Rails application:

SCGIMount / 127.0.0.1:9999

You can also mount at a particular URL path like this:

SCGIMount /rails/cookbook 127.0.0.1:9999

But you have to modify your rails routes.rb (probably the same thing you have to do if you use Apache’s Alias directive… I haven’t yet done this so I can’t say for sure).

More Advanced Configuration

Again, refer to the apache2 configuration documentation for more information on doing a more complex Apache2 configuration with virtual hosts.