I just spent about 2 hours trying to fix the links on this blog. I had changed the permalinks a while a go and not realised that it broke my whole site except for the home page. My friend Stefan pointed out to me that the RSS feed wasn't working, and that was my first clue that there was something wrong. Anyway, to cut a long story short, the problem was that:

  • I didn't have mod_rewrite enabled. Solution: a2enmod rewrite
  • I didn't have apache configured to allow .htaccess to do anything. Solution: AllowOverride All in the VirtualDirectory setting of the appropriate .conf file. Grep can help you find the right one

</p>

It also turns out that I had multiple my multiple vhost sites set up incorrectly. I was getting this error:

[error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

This happens when you have NameVirtualHost * in your conf.d/virtual.conf (thanks ServerFault!)

End result is that my blog works properly again! woot :)

In other news, I've temporarily switched to working on an iPhone app because my wife and I came up with a cool and really simple idea, and i can't find _any_ implementations of it on the app store for some reason. So I'm quickly cramming iPhone dev stuff so I can build it, and I'll try to get it up on the app store! exciting. Only problem is that my app store subscription expires in about a month, so I might have to shell out another $100 :( I have a feeling that my investment in a mac mini will never pay off.

Final rant: Switching to Objective C after c# and python is really painful. Sigh.