2009

You are browsing the archive for 2009.

GoodBye Misbehaving Spiders

Alright, all you misbehaving spiders that don't flush your DNS cache (I'm looking at you Yahoo! Slurp and Adobe Feeds), I'm killing my old box today.  So while currently you're transparently proxying through to the new one because you won't respect my TTLs in DNS, that's gonna stop.  Here's the list of user agents that [...]

Unindex Search Plugin

Even though I use Google Custom Search for my blog, I get a lot of WordPress's internal search results pages indexed by robots.  Didn't want that to happen anymore, so I wrote a simple plugin to address the issue.  Maybe someone will find it useful:
<?php
/*
Plugin Name: Unindex Search
Plugin URI: http://www.barneyb.com/
Description: Addes a NOINDEX meta tag [...]

I Love Apache

So after I got my new server online, I wanted to deal with my oversight on DSN TTLs.  Not surprisingly, mod_rewrite saved the day again.  First, since my old server is subject to the same TTLs, I added a record in my /etc/hosts file to point all of them at the new IP.  Then I [...]

Back Up

Back alive again. Pretty smooth, considering I'd done zero prep, and didn't even have ColdFusion or PHP installed 90 minutes before killing my Apache. I'm sure there will be all kinds of random little issues, but hopefully they're minimal since I by and large just rsynced everything across the wire.  I did manage to do [...]

I'm Going Down

And not the good kind. In an hour or so I'm shutting this server down and migrating to another. Routing issues continue, and no resolution. Hopefully I'll be offline for 15-20 minutes, but who knows. I'm going totally blind because I really don't have any other options. See you on [...]

The Saga Continues

So my routing issues to my old box are still in force.  Sporadic, inconsistent, the whole mess.  Their NetOps team seems to think it's something on my box, but I don't see how it could be my box if certain routes always work, while the offending route fails sometimes.  I've got a single NIC, a [...]

ƒµ©Ҝ You WordPress

In my WordPress MU migration, I made the delightful discovery that it will not serve on a 'www' subdomain.  Period.  It will answer, but it will never regard a 'www' subdomain as canonical, and always assume the bare domain is the right spot to serve from.
Fuck You, WordPress.
While I certainly agree that the behaviour of [...]

Routing Issues

Complex Drive is having some issues with routing traffic to my current server from certain locations. So if you can't get to my site, that's why. Seems that a relatively small portion of the internet actually passes through the offending router, so that's good. Unfortunately, Mentor is one of those locations, so [...]

Server Stories

Got a whole bunch of work done on my new box this evening.  Still lots to do, but well on my way.  Pluggable on-box backups for MySQL, pluggable S3 backups for arbitrary files, a WordPress MU skeleton, a few Tomcats, base HTTPD config, even a ColdFusion instance.  Unfortunately, the majority of my stuff runs on [...]

Watch Your Column Types

I've been bit by this twice in the past few months: comparing database columns that aren't the same type is really really expensive.  If you've only got a few rows, no big deal, but if you've got a few hundred thousand (or a few tens of millions) it makes a huge difference.  And varchar is [...]