LITERAL匹配301重定向的确切示例。没有什么工作,可怕的界面,缓慢和痛苦 [英] Exact example of LITERAL match 301 redirect. Nothing working, terrible interface, slow and painful

查看:76
本文介绍了LITERAL匹配301重定向的确切示例。没有什么工作,可怕的界面,缓慢和痛苦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

加入Azure / Microsoft。这对于处理迁移到CDN最重要的方面来说,这绝对是最糟糕的界面。

Come on Azure/Microsoft. This has got to be the absolute worst interface for dealing with the most critically important aspect of migrating to a CDN.

一些文档如何详细概述最可能需要的规则? 301从旧网址重定向到新网址?

How about some documentation outlining in detail the most likely needed rule? A 301 redirect from old URL to new?

我输入以下内容:

< rules schema-version =" 2" rulesetversion = QUOT; 177" rulesetid = QUOT; 1012137" xmlns =" http://www.whitecdn.com/schemas/rules/2.0/rulesSchema.xsd">

  < rule id =" 2071354"平台= QUOT; HTTP的大"状态= QUOT;有源"版本= QUOT; 0" custid =" B2AF6">

  &NBSP; <! - 由userId更改:238 on 06/01/2019 06:19:11 GMT - >

  &NBSP; < description> / fr / telephones / detail / a8(由appsupport编辑INC0542989编辑)< / description>

  &NBSP; <! - 如果 - >

  &NBSP; < match.always>

  &NBSP; &NBSP; < feature.url-redirect code =" 301"图案= QUOT; / 80B2AF6 / tmsprodstatic / FR /电话/细节/ A8"值= QUOT; https://开头%{主机} / FR /电话/星系-A8" />

  &NBSP; < /match.always>

  < / rule>

< / rules>

<rules schema-version="2" rulesetversion="177" rulesetid="1012137" xmlns="http://www.whitecdn.com/schemas/rules/2.0/rulesSchema.xsd">
  <rule id="2071354" platform="http-large" status="active" version="0" custid="B2AF6">
    <!--Changed by userId: 238 on 06/01/2019 06:19:11 AM GMT-->
    <description>/fr/telephones/detail/a8 (edited by appsupport INC0542989)</description>
    <!--If-->
    <match.always>
      <feature.url-redirect code="301" pattern="/80B2AF6/tmsprodstatic/fr/téléphones/detail/a8" value="https://%{host}/fr/phones/galaxy-a8" />
    </match.always>
  </rule>
</rules>

我要输入数百个。我从1998年开始在这个界面中加入了一堆,只等了4个小时才发现规则不起作用。它们似乎只是被忽略了。

I have hundreds of these to enter. I've entered a bunch in this interface from 1998 and waited 4 hours only to find out the rules do not work. They seem to be simply ignored.

我希望这条规则要做的是路径为"/ fr /téléphones/ detail / a8"的任何传入请求。并将其重定向到请求主机和路径"/ fr / phones / galaxy-a8"。

What I would expect this rule to do is take any incoming request where the path is "/fr/téléphones/detail/a8" and redirect that to the requesting host and path of "/fr/phones/galaxy-a8".

但事实并非如此。没有重定向。 

But that's not what happens. There is no redirect. 

我有两个域名,我有强制www和https的规则。然后我需要大约200个字面匹配重定向。我相信很多人都会尝试这样做。

I've got two domains, I have rules to force www and https. And then I need about 200 literal match redirects. I'm sure many others are trying to do the same.

推荐答案

 

Hi, 

我与产品组分享了您的反馈意见。此外,我会尝试这一点并在重定向部分回复您。 

I have shared your feedback with the Product Group. Also, I will try this out and get back to you on the redirection part. 

问候, 

Msrini


这篇关于LITERAL匹配301重定向的确切示例。没有什么工作,可怕的界面,缓慢和痛苦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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