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
425425 RewriteRule ^container-platform/(4\.4|4\.5)/authentication/certificates/(.*)$ /container-platform/$1/security/certificates/$2 [NE,R=301]
426426 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]
427427
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+
428432 # OpenShift Virtualization (CNV) catchall redirect; use when CNV releases asynchronously from OCP. Do not change the 302 to a 301.
429433 # 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+
431437 RewriteRule container-platform/4\.14/virt/(?!about-virt\.html)(.+)$ /container-platform/4.14/virt/about_virt/about-virt.html [NE,R=302]
432438
433439 # Serverless Redirects
You can’t perform that action at this time.
0 commit comments