将 url 重写为 url:port 号 [英] rewrite url to url:port number

查看:19
本文介绍了将 url 重写为 url:port 号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何重写下一个 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 RewriteARR(应用程序请求路由) IIS 模块.以下是有关如何协同工作以创建反向代理来执行您想要的操作的两个链接:

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:

这篇关于将 url 重写为 url:port 号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆