[英]Azure application gateway v2
Could you please help me?请你帮助我好吗? I currently work with Azure application gateway waf v2 and when I try to access an application it redirects me perfectly but it does not take the variables我目前使用 Azure 应用程序网关 waf v2,当我尝试访问应用程序时,它完美地重定向了我,但它不接受变量
for example when I try to access https://toto.app.com/Event?hash=xxxxx&key=xxx this redirects me to the web app but does not take the hash and key into account, whereas if I access without an application gateway with xxxazurewebsites... it does take the hash and key例如,当我尝试访问https://toto.app.com/Event?hash=xxxxx&key=xxx时,这会将我重定向到 web 应用程序,但不会考虑 hash 和密钥,而如果我在没有应用程序网关的情况下访问使用 xxxazurewebsites...它确实需要 hash 和密钥
You can check this MsDocs to understand the Rewrite HTTP headers and URL with Application Gateway.您可以查看此MsDocs以了解使用应用程序网关重写 HTTP 标头和 URL。
If you want key values to pair with parameters, you can use query string for ex: it you want https://www.contoso.com/design/xyz
to https://www.contoso.com/buy.xyz
you can use condition in server variable如果您希望键值与参数配对,您可以使用查询字符串,例如:您想要https://www.contoso.com/design/xyz
到https://www.contoso.com/buy.xyz
您可以服务器变量中的使用条件
Make use query string value and URL path value accordingly.相应地使用查询字符串值和 URL 路径值。
And check this supported list of variables in azure application gateway并在 azure 应用程序网关中检查此支持的变量列表
To know more in detail, refer this link.要了解更多详细信息,请参阅此链接。
Rewrite HTTP request and response headers in portal - Azure Application Gateway | 在门户中重写 HTTP 请求和响应标头 - Azure 应用程序网关 | Microsoft Learn 微软学习
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.