Revert "make redirect use request_uri"

This reverts commit 60384364e8a87a7dd540370c086cba6028b847f3.