Skip to content

Commit 10ab0e3

Browse files
committed
networking-operators-redirects: C reated redirects for AWS Operator docs
1 parent a569b5f commit 10ab0e3

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

.s2i/httpd-cfg/01-commercial.conf

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,50 @@ AddType text/vtt vtt
175175
# Redirect for renamed external DNS page
176176
RewriteRule ^container-platform/4\.10/networking/external_dns_operator/nw-installing-external-dns-operator.html /container-platform/4.10/networking/external_dns_operator/nw-installing-external-dns-operator-on-cloud-providers.html [NE,R=301]
177177

178-
# Redirect for renamed Ingress Controller document
178+
# Redirect for renamed Ingress Controller document
179179
RewriteRule ^container-platform/(4\.1[2-6])/networking/nw-ingress-controller-endpoint-publishing-strategies\.html$ /container-platform/$1/networking/nw-configuring-ingress-controller-endpoint-publishing-strategy.html [NE,R=302,L]
180180

181181
# Redirect for Networking operators move per https://github.com/openshift/openshift-docs/pull/85085
182182
RewriteRule ^container-platform/(4\.1[6-8])/networking/aws_load_balancer_operator/(.*)? /container-platform/$1/networking/networking_operators/aws_load_balancer_operator/$2 [NE,R=302]
183+
184+
RewriteRule rosa/networking/aws-load-balancer-operator/(.*)? /rosa/networking/networking_operators/aws-load-balancer-operator/$1 [NE,R=302]
185+
183186
RewriteRule ^container-platform/(4\.1[6-8])/networking/ingress-operator.html /container-platform/$1/networking/networking_operators/ingress-operator.html [NE,R=302]
187+
184188
RewriteRule ^container-platform/(4\.17|4\.18)/networking/network_security/ebpf_manager/(.*)? /container-platform/$1/networking/networking_operators/ebpf_manager/$2 [NE,R=302]
189+
185190
RewriteRule ^container-platform/(4\.17|4\.18)/networking/external_dns_operator/(.*)? /container-platform/$1/networking/networking_operators/external_dns_operator/$2 [NE,R=302]
186191

192+
# PR https://github.com/openshift/openshift-docs/pull/85085
193+
# Redirect for the About MetalLB and the MetalLB Operator document
194+
RewriteRule ^container-platform/(4\.1[6-8])/networking/metallb/about-metallb.html /container-platform/$1/networking/networking_operators/metallb-operator/about-metallb.html [NE,R=302]
195+
# Redirect for the Installing the MetalLB Operator document
196+
RewriteRule ^container-platform/(4\.1[6-8])/networking/metallb/metallb-operator-install.html /container-platform/$1/networking/networking_operators/metallb-operator/metallb-operator-install.html [NE,R=302]
197+
# Redirect for the Upgrading the MetalLB Operator document
198+
RewriteRule ^container-platform/(4\.1[6-8])/networking/metallb/metallb-upgrading-operator.html /container-platform/$1/networking/networking_operators/metallb-operator/metallb-upgrading-operator.html [NE,R=302]
199+
# Redirect for the Cluster Network Operator document
200+
RewriteRule ^container-platform/(4\.1[6-8])/networking/cluster-network-operator.html /container-platform/$1/networking/networking_operators/cluster-network-operator.html [NE,R=302]
201+
# Redirect for the DNS Operator document
202+
RewriteRule ^container-platform/(4\.1[6-8])/networking/dns-operator.html /container-platform/$1/networking/networking_operators/dns-operator.html [NE,R=302]
203+
# ROSA/Dedicated Redirect for the DNS Operator document
204+
RewriteRule ^(rosa|dedicated)/networking/dns-operator.html /$1/networking/networking_operators/dns-operator.html [NE,R=302]
205+
# Redirect for the Ingress Operator document
206+
RewriteRule ^container-platform/(4\.1[6-8])/networking/ingress-operator.html /container-platform/$1/networking/networking_operators/ingress-operator.html [NE,R=302]
207+
# ROSA/Dedicated Redirect for the Ingress Operator document
208+
RewriteRule ^(rosa|dedicated)/networking/ingress-operator.html /$1/networking/networking_operators/ingress-operator.html [NE,R=302]
209+
# Redirect for the Node Firewall Operator document
210+
RewriteRule ^container-platform/(4\.1[6-8])/networking/ingress-node-firewall-operator.html /container-platform/$1/networking/networking_operators/ingress-node-firewall-operator.html [NE,R=302]
211+
# ROSA Redirect for the Node Firewall Operator document
212+
RewriteRule ^(rosa)/networking/ingress-node-firewall-operator.html /$1/networking/networking_operators/ingress-node-firewall-operator.html [NE,R=302]
213+
214+
# PR https://github.com/openshift/openshift-docs/pull/85441
215+
# Redirect for the Installing the SR-IOV Network Operator document
216+
RewriteRule ^container-platform/(4\.1[6-8])/networking/hardware_networks/installing-sriov-operator.html /container-platform/$1/networking/networking_operators/sr-iov-operator/installing-sriov-operator.html [NE,R=302]
217+
# Redirect for the Configuring the SR-IOV Network Operator document
218+
RewriteRule ^container-platform/(4\.1[6-8])/networking/hardware_networks/configuring-sriov-operator.html /container-platform/$1/networking/networking_operators/sr-iov-operator/configuring-sriov-operator.html [NE,R=302]
219+
# Redirect for the Uninstalling the SR-IOV Network Operator document
220+
RewriteRule ^container-platform/(4\.1[6-8])/networking/hardware_networks/uninstalling-sriov-operator.html /container-platform/$1/networking/networking_operators/sr-iov-operator/uninstalling-sriov-operator.html [NE,R=302]
221+
187222
# Redirect for cluster logging per Ashleigh Brennan
188223
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/logging/troubleshooting/cluster-logging-must-gather.html /container-platform/$1/logging/cluster-logging-support.html [NE,R=302]
189224
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/logging/config/cluster-logging-maintenance-support.html /container-platform/$1/logging/cluster-logging-support.html [NE,R=302]

0 commit comments

Comments
 (0)