Fix problems with mod_wsgi redirect and trackhubs.