Allow multiple redirects in urlrewrite redirect.
Prevent url being set to fragment with urlrewrite redirect. fix #2815