Rag*_*dra 8 rule-engine url-rewriting azure url-rewrite-module azure-cdn
我是Azure CDN中的主机和html站点(在Premier付费计划下),因此它为我提供了一个规则引擎,它提供了许多控制流的功能.我想要URL重定向和URL重写 Azure CDN规则.
鉴于www.example.com用户可以访问的网站,请参阅信息www.example.com/username,我在IIS中设置了以下规则:
<rule name="rulex" enabled="true" stopProcessing="true">
<match url="." ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="/index.html" />
</rule>
Run Code Online (Sandbox Code Playgroud)
那么,我如何在Azure CDN中设置相同的规则呢?这可能吗?任何链接到示例将非常感谢:)
| 归档时间: |
|
| 查看次数: |
346 次 |
| 最近记录: |