Skip to content

Commit 3ea0e7a

Browse files
authored
Revert "CNV-18203: reversing redirect to allow CNV content to go live on GA"
1 parent 8fbccb6 commit 3ea0e7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ AddType text/vtt vtt
300300
# OpenShift Virtualization (CNV) catchall redirect; use when CNV releases asynchronously from OCP. Do not change the 302 to a 301.
301301
# When uncommented, this redirects all `virt` directory traffic to the about-virt page.
302302
# To activate the redirects, uncomment the next line and update the version number to the pending release.
303-
# RewriteRule container-platform/4\.12/virt/(?!about-virt\.html)(.+)$ /container-platform/4.12/virt/about-virt.html [NE,R=302]
303+
RewriteRule container-platform/4\.12/virt/(?!about-virt\.html)(.+)$ /container-platform/4.12/virt/about-virt.html [NE,R=302]
304304

305305
# Red Hat OpenShift support for Windows Containers (WMCO) catchall redirect; use when WMCO releases asynchronously from OCP. Do not change the 302 to a 301.
306306
# When uncommented, this redirects all `windows_containers` directory traffic to the /windows_containers/index.html page.

.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|4\.12)/virt/(?!about-virt\.html)(.+)$ /$1/virt/about-virt.html [NE,R=302]
165+
RewriteRule ^(latest|4\.12)/virt/(?!about-virt\.html)(.+)$ /$1/virt/about-virt.html [NE,R=302]
166166

167167
# Red Hat OpenShift support for Windows Containers (WMCO) catchall redirect; use when WMCO releases asynchronously from OCP. Do not change the 302 to a 301.
168168
# When uncommented, this redirects all `windows_containers` directory traffic to the /windows_containers/index.html page.

0 commit comments

Comments
 (0)