使用Azure应用程序网关将单个页面定向到后端池 [英] Using Azure Application Gateway to Direct Individual Pages to Backend Pools

查看:65
本文介绍了使用Azure应用程序网关将单个页面定向到后端池的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一些我要清理的遗留物品.我们有一个根域,即Wordpress网站.我们还有一些直接挂在该根域之外的ASPX页面(因此www.example.com/index.aspx).我想做的就是发送所有根 域访问Wordpress网站的流量,但是如果该模式与* .aspx匹配(甚至完全匹配,则为index.aspx),则将该流量发送到另一个池中.

解决方案

不幸的是,目前这不可能. App Gateway路由规则的规则末尾必须具有通配符.要获得完整的解释, 在此处检查注释.

如果您希望我们以后添加此功能,请 在这里留下您的反馈意见.

作为一种解决方法,您可以将所有.aspx文件移动到特定的文件夹,然后可以使用基于路径的路由将请求始终路由到该文件夹​​到特定的服务器或池. /blockquote>

I'm working with some legacy items that I'm trying to clean up. We have a root domain that is a Wordpress site. We also have some ASPX pages that hang directly off that root domain (so www.example.com/index.aspx). What I would like to do is send all root domain traffic to the Wordpress site but if the pattern matches *.aspx (or even full match so index.aspx) then send that traffic to a different pool. Is this possible?

解决方案

Unfortunately this is not possible at this time. App Gateway routing rules must have the wild card at the end of the rule. For a full explanation, check the note Here

If you would like us to add this feature in the future, please leave your feedback Here

As a workaround, you could move all of your .aspx files to a specific folder, then you could use path-based routing to always route requests to that folder to a specific server or pool. 


这篇关于使用Azure应用程序网关将单个页面定向到后端池的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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