问题
I've installed IIS 7.0 with SharePoint and Url Rewrite module.
Are the following sentences or perhaps I have configured something incorrectly to see this result?
Url Redirect can redirect a url to any internal (on the same site) or external urls (on a separate site).
Url Rewrite can only rewrite to an internal url?
Many thanks in advance.
回答1:
Url Rewrite can redirect a url to any internal (on the same site) or external urls (on a separate site).
回答2:
You can actually rewrite to a different server (so your domain displays content loaded from an external site) using ARR (Application Request Routing) with reverse proxy rules. Here's a step by step guide on how to do it and keep your relative paths working:
http://blogs.iis.net/carlosag/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr
来源:https://stackoverflow.com/questions/4647782/can-url-rewrite-only-rewrite-to-an-internal-url