File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -159,9 +159,13 @@ AddType text/vtt vtt
159
159
RewriteRule ^latest/install_config/upgrades\.html(.*)$ /latest/install_config/upgrading/index.html$1 [NE,R=301]
160
160
RewriteRule ^latest/install_config/upgrading/(.*)$ /latest/upgrading/$1 [NE,R=301]
161
161
162
+ # The following rule prevents an infinite redirect loop when browsing to /(latest|4\.14)/virt/about_virt/about-virt.html
163
+ RewriteRule ^(latest|4\.14)/virt/about_virt/about-virt.html$ - [L]
164
+
162
165
# OpenShift Virtualization (CNV) catchall redirect; use when CNV releases asynchronously from OCP. Do not change the 302 to a 301.
163
166
# When uncommented, this redirects all `virt` directory traffic to the about-virt page.
164
- # To activate the redirects, uncomment the next line and update the version number to the pending release.
167
+ # Pay mind to the redirect directly above this which prevents redirect loops.
168
+ # To activate the redirects, uncomment the next and previous lines and update the version number to the pending release.
165
169
RewriteRule ^(latest|4\.14)/virt/(?!about-virt\.html)(.+)$ /$1/virt/about_virt/about-virt.html [NE,R=302]
166
170
167
171
</Directory>
You can’t perform that action at this time.
0 commit comments