rack_redirect (rubygems): Rack middleware to redirect requests based on path, but can be easily extended to match hostname, user-agent, or whatever might be available in the request.
Keywords: middleware|rack|rack-redirect|user-agent