Route different paths differently

Is there any way to specify a different "target_url" for one or more specific paths?

You can rewrite the target URL as part of a URL rewrite URL Rewriting