【发布时间】:2018-06-15 20:24:08
【问题描述】:
叠花, 有人可以就以下问题提出建议:
当 http url 方法列表被命中时,我需要将它们重定向到另一台服务器,并且站点的其余方法不被重定向。你能告诉我如何做到这一点吗? 这就是我的意思:
base address = https://example.com
<base address>/methods/asyncwebmethods.ashx/JwtTokenLogin
to be redirected to
<http://bg2-858-lt>/JwtTokenLogin
<base address>/methods/asyncwebmethods.ashx/logout
to be redirected to
<http://bg2-858-lt>/JwtTokenLogin
<base address>methods/betting.ashx/updateRegularCartItems
to be redirected to
<http://bg2-858-lt>/updateRegularCartItems
【问题讨论】: