相关疑难解决方法(0)

URL重写 - 重定向到不同的端口并使用map更改URL

我想重写URL以重定向到不同的端口,基于HTTP_URL,同时保留其余的URL和查询字符串(如果指定).例如,
http://host/john/page.aspx应该被重定向到http://host:1900/page.aspx,
http://host/paul/anotherpage.aspx?query到http://host:1901/anotherpage.aspx?query
和http://host/ringo到http://host:1902/
我添加了一堆,每允许端口规则,但它并不高效或管理.
我正在尝试使用map,(即john-> 1900,paul-> 1901),但无法弄清楚如何组合所需的URL.
有什么建议?

url-rewriting iis-7.5

1
推荐指数
1
解决办法
9731
查看次数

标签 统计

iis-7.5 ×1

url-rewriting ×1