Skip to content

Commit 4b96617

Browse files
authored
Merge pull request #50306 from sjhala-ccs/update-okd-redirect-rule
[virt] Updated CNV 4.11 redirect rule for OKD
2 parents f497a95 + 2642a19 commit 4b96617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ AddType text/vtt vtt
162162
# OpenShift Virtualization (CNV) catchall redirect; use when CNV releases asynchronously from OCP. Do not change the 302 to a 301.
163163
# When uncommented, this redirects all `virt` directory traffic to the about-virt page.
164164
# To activate the redirects, uncomment the next line and update the version number to the pending release.
165-
RewriteRule ^latest/virt/(?!about-virt\.html)(.+)$ /latest/virt/about-virt.html [NE,R=302]
165+
RewriteRule ^(latest|4\.11)/virt/(?!about-virt\.html)(.+)$ /$1/virt/about-virt.html [NE,R=302]
166166

167167
</Directory>
168168
</IfModule>

0 commit comments

Comments
 (0)