Fix for relative-path redirects causing infinite loops

This commit is contained in:
John Mulhausen
2016-10-06 17:00:03 -07:00
parent a01754c8e0
commit a2ff02a96a
3 changed files with 53 additions and 52 deletions

4
404.md
View File

@@ -53,10 +53,10 @@ function doFwd() {
if (gonnaFwd) {
console.log("Forwarding to: " + newURL);
//window.location.replace(newURL);
document.write('<meta http-equiv="refresh" content="0; url=' + newURL + '">')
//document.write('<meta http-equiv="refresh" content="0; url=' + newURL + '">')
} else {
//window.location.replace("/sorry/#" + forwardingURL);
document.write('<meta http-equiv="refresh" content="0; url=/sorry/#' + forwardingURL + '">')
//document.write('<meta http-equiv="refresh" content="0; url=/sorry/#' + forwardingURL + '">')
}
}
window.onload = doFwd;

View File

@@ -1,50 +1,50 @@
source,destination
engine/quickstart/,engine/getstarted/
engine/containers/,engine/tutorials/
win/,docker-for-windows/
mac/,docker-for-mac/
linux/,engine/
article-img/,engine/article-img/
articles/,engine/articles/
examples/,engine/examples/
extend/,engine/extend/
installation/,engine/installation/
introduction/,engine/introduction/
misc/,engine/misc/
project/,opensource/project/
reference/,engine/reference/
security/,engine/security/
static_files/,engine/static_files/
userguide/,engine/userguide/
en/latest/installation/,engine/installation/
docker-hub-enterprise/install/,docker-trusted-registry/install/
docker-io/builds/,docker-hub/builds/
docker-trusted-registry/license/install-csengine.md,docker-trusted-registry/install/install-csengine/
engine/articles/basics/,engine/userguide/basics/
engine/project/set-up-git/,opensource/project/set-up-git/
engine/reference/articles/basics.md,engine/userguide/basics/
engine/userguide/dockerlinks/,engine/userguide/networking/default_network/dockerlinks/
installation/,engine/installation/
networking/,engine/userguide/networking/
opensource/project/advanced-contributing/,opensource/workflow/advanced-contributing/
opensource/project/create-pr/,opensource/workflow/create-pr/
opensource/project/find-an-issue/,opensource/workflow/find-an-issue/
opensource/project/get-help/,opensource/get-help/
opensource/project/make-a-contribution/,opensource/workflow/make-a-contribution/
opensource/project/review-pr/,opensource/workflow/review-pr/
opensource/project/work-issue/,opensource/workflow/work-issue/
opensource/workflow/doc-style/,opensource/doc-style/
opensource/workflow/get-help/,opensource/get-help/
opensource/workflow/set-up-dev-env/,opensource/project/set-up-dev-env/
opensource/workflow/set-up-git/,opensource/project/set-up-git/
opensource/workflow/test-and-docs/,opensource/project/test-and-docs/
userguide/,engine/userguide/
docker-trusted-registry/adminguide/upgrade.md,docker-trusted-registry/install/upgrade/
docker-trusted-registry/quick-start/install.md,docker-trusted-registry/install/
docker-trusted-registry/adminguide/docker-trusted-registry/install.md,docker-trusted-registry/install/
v1.6/docker-hub/,docker-hub/
v1.7/docker-hub/,docker-hub/
v1.8/docker-hub/,docker-hub/
v1.9/docker-hub/,docker-hub/
v1.10/docker-hub/,docker-hub/
v1.11/docker-hub/,docker-hub/
/source,destination
/engine/quickstart/,/engine/getstarted/
/engine/containers/,/engine/tutorials/
/win/,/docker-for-windows/
/mac/,/docker-for-mac/
/linux/,/engine/
/article-img/,/engine/article-img/
/articles/,/engine/articles/
/examples/,/engine/examples/
/extend/,/engine/extend/
/installation/,/engine/installation/
/introduction/,/engine/introduction/
/misc/,/engine/misc/
/project/,/opensource/project/
/reference/,/engine/reference/
/security/,/engine/security/
/static_files/,/engine/static_files/
/userguide/,/engine/userguide/
/en/latest/installation/,/engine/installation/
/docker-hub-enterprise/install/,/docker-trusted-registry/install/
/docker-io/builds/,/docker-hub/builds/
/docker-trusted-registry/license/install-csengine.md,/docker-trusted-registry/install/install-csengine/
/engine/articles/basics/,/engine/userguide/basics/
/engine/project/set-up-git/,/opensource/project/set-up-git/
/engine/reference/articles/basics.md,/engine/userguide/basics/
/engine/userguide/dockerlinks/,/engine/userguide/networking/default_network/dockerlinks/
/installation/,/engine/installation/
/networking/,/engine/userguide/networking/
/opensource/project/advanced-contributing/,/opensource/workflow/advanced-contributing/
/opensource/project/create-pr/,/opensource/workflow/create-pr/
/opensource/project/find-an-issue/,/opensource/workflow/find-an-issue/
/opensource/project/get-help/,/opensource/get-help/
/opensource/project/make-a-contribution/,/opensource/workflow/make-a-contribution/
/opensource/project/review-pr/,/opensource/workflow/review-pr/
/opensource/project/work-issue/,/opensource/workflow/work-issue/
/opensource/workflow/doc-style/,/opensource/doc-style/
/opensource/workflow/get-help/,/opensource/get-help/
/opensource/workflow/set-up-dev-env/,/opensource/project/set-up-dev-env/
/opensource/workflow/set-up-git/,/opensource/project/set-up-git/
/opensource/workflow/test-and-docs/,/opensource/project/test-and-docs/
/userguide/,/engine/userguide/
/docker-trusted-registry/adminguide/upgrade.md,/docker-trusted-registry/install/upgrade/
/docker-trusted-registry/quick-start/install.md,/docker-trusted-registry/install/
/docker-trusted-registry/adminguide/docker-trusted-registry/install.md,/docker-trusted-registry/install/
/v1.6/docker-hub/,/docker-hub/
/v1.7/docker-hub/,/docker-hub/
/v1.8/docker-hub/,/docker-hub/
/v1.9/docker-hub/,/docker-hub/
/v1.10/docker-hub/,/docker-hub/
/v1.11/docker-hub/,/docker-hub/
1 source /source destination
2 engine/quickstart/ /engine/quickstart/ engine/getstarted/ /engine/getstarted/
3 engine/containers/ /engine/containers/ engine/tutorials/ /engine/tutorials/
4 win/ /win/ docker-for-windows/ /docker-for-windows/
5 mac/ /mac/ docker-for-mac/ /docker-for-mac/
6 linux/ /linux/ engine/ /engine/
7 article-img/ /article-img/ engine/article-img/ /engine/article-img/
8 articles/ /articles/ engine/articles/ /engine/articles/
9 examples/ /examples/ engine/examples/ /engine/examples/
10 extend/ /extend/ engine/extend/ /engine/extend/
11 installation/ /installation/ engine/installation/ /engine/installation/
12 introduction/ /introduction/ engine/introduction/ /engine/introduction/
13 misc/ /misc/ engine/misc/ /engine/misc/
14 project/ /project/ opensource/project/ /opensource/project/
15 reference/ /reference/ engine/reference/ /engine/reference/
16 security/ /security/ engine/security/ /engine/security/
17 static_files/ /static_files/ engine/static_files/ /engine/static_files/
18 userguide/ /userguide/ engine/userguide/ /engine/userguide/
19 en/latest/installation/ /en/latest/installation/ engine/installation/ /engine/installation/
20 docker-hub-enterprise/install/ /docker-hub-enterprise/install/ docker-trusted-registry/install/ /docker-trusted-registry/install/
21 docker-io/builds/ /docker-io/builds/ docker-hub/builds/ /docker-hub/builds/
22 docker-trusted-registry/license/install-csengine.md /docker-trusted-registry/license/install-csengine.md docker-trusted-registry/install/install-csengine/ /docker-trusted-registry/install/install-csengine/
23 engine/articles/basics/ /engine/articles/basics/ engine/userguide/basics/ /engine/userguide/basics/
24 engine/project/set-up-git/ /engine/project/set-up-git/ opensource/project/set-up-git/ /opensource/project/set-up-git/
25 engine/reference/articles/basics.md /engine/reference/articles/basics.md engine/userguide/basics/ /engine/userguide/basics/
26 engine/userguide/dockerlinks/ /engine/userguide/dockerlinks/ engine/userguide/networking/default_network/dockerlinks/ /engine/userguide/networking/default_network/dockerlinks/
27 installation/ /installation/ engine/installation/ /engine/installation/
28 networking/ /networking/ engine/userguide/networking/ /engine/userguide/networking/
29 opensource/project/advanced-contributing/ /opensource/project/advanced-contributing/ opensource/workflow/advanced-contributing/ /opensource/workflow/advanced-contributing/
30 opensource/project/create-pr/ /opensource/project/create-pr/ opensource/workflow/create-pr/ /opensource/workflow/create-pr/
31 opensource/project/find-an-issue/ /opensource/project/find-an-issue/ opensource/workflow/find-an-issue/ /opensource/workflow/find-an-issue/
32 opensource/project/get-help/ /opensource/project/get-help/ opensource/get-help/ /opensource/get-help/
33 opensource/project/make-a-contribution/ /opensource/project/make-a-contribution/ opensource/workflow/make-a-contribution/ /opensource/workflow/make-a-contribution/
34 opensource/project/review-pr/ /opensource/project/review-pr/ opensource/workflow/review-pr/ /opensource/workflow/review-pr/
35 opensource/project/work-issue/ /opensource/project/work-issue/ opensource/workflow/work-issue/ /opensource/workflow/work-issue/
36 opensource/workflow/doc-style/ /opensource/workflow/doc-style/ opensource/doc-style/ /opensource/doc-style/
37 opensource/workflow/get-help/ /opensource/workflow/get-help/ opensource/get-help/ /opensource/get-help/
38 opensource/workflow/set-up-dev-env/ /opensource/workflow/set-up-dev-env/ opensource/project/set-up-dev-env/ /opensource/project/set-up-dev-env/
39 opensource/workflow/set-up-git/ /opensource/workflow/set-up-git/ opensource/project/set-up-git/ /opensource/project/set-up-git/
40 opensource/workflow/test-and-docs/ /opensource/workflow/test-and-docs/ opensource/project/test-and-docs/ /opensource/project/test-and-docs/
41 userguide/ /userguide/ engine/userguide/ /engine/userguide/
42 docker-trusted-registry/adminguide/upgrade.md /docker-trusted-registry/adminguide/upgrade.md docker-trusted-registry/install/upgrade/ /docker-trusted-registry/install/upgrade/
43 docker-trusted-registry/quick-start/install.md /docker-trusted-registry/quick-start/install.md docker-trusted-registry/install/ /docker-trusted-registry/install/
44 docker-trusted-registry/adminguide/docker-trusted-registry/install.md /docker-trusted-registry/adminguide/docker-trusted-registry/install.md docker-trusted-registry/install/ /docker-trusted-registry/install/
45 v1.6/docker-hub/ /v1.6/docker-hub/ docker-hub/ /docker-hub/
46 v1.7/docker-hub/ /v1.7/docker-hub/ docker-hub/ /docker-hub/
47 v1.8/docker-hub/ /v1.8/docker-hub/ docker-hub/ /docker-hub/
48 v1.9/docker-hub/ /v1.9/docker-hub/ docker-hub/ /docker-hub/
49 v1.10/docker-hub/ /v1.10/docker-hub/ docker-hub/ /docker-hub/
50 v1.11/docker-hub/ /v1.11/docker-hub/ docker-hub/ /docker-hub/

View File

@@ -1,6 +1,7 @@
---
aliases:
- /engine/articles/run_metrics
- /engine/articles/runmetrics
description: Measure the behavior of running containers
keywords:
- docker, metrics, CPU, memory, disk, IO, run, runtime, stats