Home MVC Storefront

Chicken Butt, Potty Face, and Firecrackin Flapjacks…

...are the things you say when screaming at your monitor when young ears are in the next room. Yes, it's silly. What's even more silly is the smelly mess on the floor that I call Apache 2.2.

I do recognize that this here free thing "powers half the internet". I also realize that George Bush is the president. Some things you are powerless over even if the constitution says otherwise.

offtopic alert offtopic alert offtopic alert offtopic alert offtopic alert offtopic alert offtopic alert

Zack Owens in cracking his knuckles... ready to fire off a flame at Rob's off-topic Bush/Apache reference... but Rob ducks! Swooshes and sliiiiiides over the to corner, putting on his best smile: "I'm only here to talk about Apache maaannnnn. Just chiiiiilllll..."

LinqUx and Other Bad Ideas
So today I had the bright idea of doing something clever with LINQ, Mono, Apache and Rails (eLMAR if you will) and so the first step was to install Ubuntu on Virtual Server 2005. That was ridiculously simple believe it or not - I had expected to find myself in a big fat quagmire with lots of casualties and no ability to answer for the loss of lives along the way. I'll let Dick Cheney explain more about what I mean ....

Zack - dude I didn't mean that. I'll stop here - I promise. You have to admit that video is a little on the money though...

So my virtual server is all kicked up and happy, and I'm tootling away crampily on the command line trying to remember HTF to use emacs to edit that damned httpd.config file when it hits me:

I'm out of coffee, I'm hungry, tired and thirsty and I have no idea WHY I'm trying to figure out what this thing is saying to me, and why I'm being tortured like this... emacs should be named Guantan-

(stop... Rob.... don't do it... please no more political references...). I apologize. I am simply a vessel for my muse, and slavishly bark at it's siren's call...

Anyway... being unable to give up, I finally remember my C- commands and off I go (with some help from Google) and edit up my config file. Within an hour or two I have Rails (almost) running nicely on a Virtual Server using Apache/Ubuntu, which itself is a Guest OS on my box at MaximumASP (thanks Phillip for the tips btw).

Server Bunnies
Lovely feeling this - I have a whole new (virtual) box, and it's Ubuntu Server running on Win2003 Server! Yes Yes Yes I've made lots of VMs here on my dev box, but for some reason the thought never occurred to me to rev a few up on a co-lo. My server is a fertile thing! If I copy the VM, I can rev up a second instance if I like - slick!

The sad part is that I couldn't get anything to work because Apache just wouldn't play ball. It's been a long time (and happy at that) since I've had to work the command line and edit stuff fingers-only, and I suck at it. So as I'm typing away streams of "monkey words" (as my daughter calls them - not swear words mind you, "proxy" swear words) come flying out of my mouth, violating my prime directive (don't sound like an Ape).

This leads me to conclude that, as much as people rip MS apart for some IIS's downfalls - the thing is really easy to use and is pretty damn stable. I wish I could get it to hand off proxy requests without IsapiRewrite ... but oh well.

Moral of the story: give IIS a hug tomorrow.

So I'm really close - I just can't get the proxy bits to route to Mongrel properly. If anyone out there has a nice *NIX image they want to share with MySQL/Rails etc. configured, lemme know! I have a fun post in the queue here and I'd love for it to stop smellin up my office floor...

Zack Owens avatar
Zack Owens says:
Saturday, August 18, 2007
Yea, yea, yea. I know what's up :) Bushy is my homie! In all honesty, I'm glad I live in a country where I can actually have an opinion. Just look at Iran or North Korea. Try having an opinion about those leaders. (Idea for a SonicCast... MIGRATIONS! The users of my ClubStarterKit project are walin on my Upgrade scripts :( )

Ryan avatar
Ryan says:
Saturday, August 18, 2007
Rob, Have you looked at Capistrano (http://www.capify.org/) or VLAD (http://rubyhitsquad.com/Vlad_the_Deployer.html)? Combined with the Deprec gem or the Rails Machine scripts it might solve your problem faster. Check out the PeepCode video for using Capistrano/Deprec/Ubuntu. http://topfunky.com/clients/peepcode/free-episodes/peepcode-free-deprec.mov

josh avatar
josh says:
Saturday, August 18, 2007
Rob, I can help, but not with your disillusionment.. I'm running Fedora and ubuntu machines at home, with a windows vmware machine... bad spyware experience in winxp; don't ask. Anyway, I think I read that Virtual PC can convert or read vmware appliances. Anndd.. vmware has a bunch of images to give away. If not, the free editions of vmware are really good. Somewhere on the mono site, there is a link to a vmware image of OpenSuse that has Mono setup. XSP is the easiest web server for mono on linux, but its more for local dev. Mongrel seems to be the easiest rails webserver, but I haven't played with it too much myself. good luck.

Remmus avatar
Remmus says:
Saturday, August 18, 2007
Rob says: violating my prime directive (don’t sound like an Ape). I am not sure if that is the best joke I have heard or the worst. This was another great post to read even if it boils down to I can't get something to work. P.S. How come the move away from SubText and onto Wordpress?


Search Me
Subscribe

Index Of MVC Screencasts

You can watch all of the MVC Screencasts up at ASP.NET, and even leave comments if you like.

Popular Posts
 
My Tweets
  • @haacked must.... resist... assimilation...
  • Dinner at the Haacks. How did Phil get such a cute kid? Evidently Phil's in the doghouse though...
  • @shanselman dude turn off twitter and drive! that's gotta be illegal!
  • For D'Arcy and Justice... Scottgu goes Canuck! http://twitpic.com/mfz1
  • Working in ScottGu's office with @shanselman. Wearing an Orange Polo and saying "go ahead" a lot for some reason.
  About Me



Hi! My name is Rob Conery and I work at Microsoft. I am the Creator of SubSonic and was the Chief Architect of the Commerce Starter Kit (a free, Open Source eCommerce platform for .NET)

I live in Kauai, HI with my family, and when my clients aren't looking, I sometimes write things on my blog (giving away secrets of incalculable value).