Alternatively, can anybody suggest a different way to offer this functionality? I don't think mod_rewrite applies, since the tests are too complicated, but would stand corrected if somebody knows different...
I posted this to london.pm earlier and had no joy. /joel, getting a bit desperate.