Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .s2i/httpd-cfg/01-commercial.conf
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,33 @@ AddType text/vtt vtt
RewriteRule ^dedicated/architecture/additional_concepts/f5_big_ip\.html(.*) /dedicated/welcome/index.html$1 [NE,L,R=301]
RewriteRule ^dedicated/architecture/additional_concepts/flannel\.html(.*) /dedicated/welcome/index.html$1 [NE,L,R=301]

# Redirects for the Dedicated restructure applied in https://github.com/openshift/openshift-docs/pull/41923 and https://github.com/openshift/openshift-docs/pull/43807

RewriteRule ^dedicated/osd_quickstart/osd-quickstart.html /dedicated/osd_getting_started/osd-getting-started.html [NE,R=302]

RewriteRule ^dedicated/osd_cluster_create/osd-understanding-your-cloud-deployment-options.html /dedicated/osd_getting_started/osd-understanding-your-cloud-deployment-options.html [NE,R=302]
RewriteRule ^dedicated/osd_cluster_create/creating-an-aws-cluster.html /dedicated/osd_install_access_delete_cluster/creating-an-aws-cluster.html [NE,R=302]
RewriteRule ^dedicated/osd_cluster_create/creating-a-gcp-cluster.html /dedicated/osd_install_access_delete_cluster/creating-a-gcp-cluster.html [NE,R=302]

RewriteRule ^dedicated/identity_providers/config-identity-providers.html /dedicated/osd_install_access_delete_cluster/config-identity-providers.html [NE,R=302]

RewriteRule ^dedicated/administering_a_cluster/osd-admin-roles.html /dedicated/osd_cluster_admin/osd-admin-roles.html [NE,R=302]

RewriteRule ^dedicated/osd_private_connections/?(.*)$ /dedicated/osd_cluster_admin/osd_private_connections/$1 [NE,R=302]

RewriteRule ^dedicated/nodes/rosa-managing-worker-nodes.html /dedicated/osd_cluster_admin/osd_nodes/osd-managing-worker-nodes.html [NE,R=302]
RewriteRule ^dedicated/nodes/?(.*)$ /dedicated/osd_cluster_admin/osd_nodes/osd-$1 [NE,R=302]

RewriteRule ^dedicated/osd_notifications/notifications.html /dedicated/osd_install_access_delete_cluster/notifications.html [NE,R=302]

RewriteRule ^dedicated/monitoring/?(.*)$ /dedicated/osd_cluster_admin/osd_monitoring/$1 [NE,R=302]

RewriteRule ^dedicated/osd_policy/?(.*)$ /dedicated/osd_architecture/osd_policy/$1 [NE,R=302]

RewriteRule ^dedicated/support/getting-support.html /dedicated/osd_architecture/osd-support.html [NE,R=302]
RewriteRule ^dedicated/support/summarizing-cluster-specifications.html /dedicated/osd_support/osd-summarizing-cluster-specifications.html [NE,R=302]
RewriteRule ^dedicated/support/?(.*)$ /dedicated/osd_support/$1 [NE,R=302]

# OCP specific redirects
RewriteRule ^(container-platform|enterprise)/(3\.2|3\.3|3\.4|3\.5|3\.6|3\.7)/architecture/additional_concepts/throttling\.html(.*)$ /$1/$2/admin_guide/overcommit.html$3 [NE,L,R=301]
RewriteRule ^(container-platform|enterprise)/(.[^/])/admin_guide/install/(advanced_install|deploy_router|docker_registry|first_steps|overview|prerequisites|quick_install|upgrades)\.html(.*)$ /$1/$2/install/$3.html$4 [NE,R=301]
Expand Down