rewrite url to url:port number

烈酒焚心 提交于 2019-11-26 16:58:07

问题


how can I rewrite the next url request:

http://mydomain.com/virtualDirectory/default.aspx?param1=2&param2=car

to:

http://mydomain.com:8888/virtualDirectory/default.aspx?param1=2&param2=car

Best regards.


回答1:


You should install the URL Rewrite and the ARR (Application Request Routing) modules for IIS. Here are two links on how these can work together to create a reverse proxy to do what you want:

  • Reverse Proxy with URL Rewrite v2 and Application Request Routing
  • Setting up a Reverse Proxy using IIS, URL Rewrite and ARR


来源:https://stackoverflow.com/questions/13529307/rewrite-url-to-urlport-number

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