将网址改写为网址:端口号 [英] rewrite url to url:port number
本文介绍了将网址改写为网址:端口号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我该如何重写下一个url请求:
how can I rewrite the next url request:
http://mydomain.com/virtualDirectory/default.aspx?param1=2¶m2=car
收件人:
http://mydomain.com:8888/virtualDirectory/default.aspx?param1=2¶m2=car
最诚挚的问候.
推荐答案
您应安装 URL重写和用于IIS的 ARR(应用程序请求路由)模块.以下是两个有关如何将它们一起工作以创建反向代理以执行您想要的操作的链接:
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
这篇关于将网址改写为网址:端口号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文