将网址改写为网址:端口号

问题描述:

我该如何重写下一个url请求:

how can I rewrite the next url request:

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

收件人:

http://mydomain.com:8888/virtualDirectory/default.aspx?param1=2&param2=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: