Can Url Rewrite only rewrite to an internal url?

家住魔仙堡 提交于 2020-01-02 05:24:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!