some basic route rewriting capability