File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -425,9 +425,15 @@ AddType text/vtt vtt
425
425
RewriteRule ^container-platform/(4\.4|4\.5)/authentication/certificates/(.*)$ /container-platform/$1/security/certificates/$2 [NE,R=301]
426
426
RewriteRule ^container-platform/(4\.4|4\.5)/authentication/(allowing-javascript-access-api-server|encrypting-etcd|certificate-types-descriptions)\.html$ /container-platform/$1/security/$2\.html [NE,R=301]
427
427
428
+
429
+ # The following rule prevents an infinite redirect loop when browsing to /container-platform/4.14/virt/about_virt/about-virt.html
430
+ RewriteRule ^container-platform/4\.14/virt/about_virt/about-virt.html$ - [L]
431
+
428
432
# OpenShift Virtualization (CNV) catchall redirect; use when CNV releases asynchronously from OCP. Do not change the 302 to a 301.
429
433
# When uncommented, this redirects all `virt` directory traffic to the about-virt page.
430
- # To activate the redirects, uncomment the next line and update the version number to the pending release.
434
+ # Pay mind to the redirect directly above this which prevents redirect loops.
435
+ # To activate the redirects, uncomment the next and previous lines and update the version number to the pending release.
436
+
431
437
RewriteRule container-platform/4\.14/virt/(?!about-virt\.html)(.+)$ /container-platform/4.14/virt/about_virt/about-virt.html [NE,R=302]
432
438
433
439
# Serverless Redirects
You can’t perform that action at this time.
0 commit comments