Skip to content

Commit e0861bd

Browse files
Update 01-commercial.conf
1 parent 04ba928 commit e0861bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ AddType text/vtt vtt
134134
# Redirect ROSA version 4 docs to go to non versioned docs
135135
RewriteRule ^rosa/4/?$ /rosa/welcome/index.html [L,R=301]
136136
RewriteRule ^rosa/4/(.*)$ /rosa/$1 [NE,R=301]
137+
138+
# this pipeline redirect has to come before the latest kicks in generically
139+
RewriteRule ^container-platform/latest/pipelines/creating-applications-with-cicd-pipelines.html /container-platform/4.7/cicd/pipelines/creating-applications-with-cicd-pipelines.html [NE,R=302]
137140

138141
# remove aro docs to just the welcome page
139142
RewriteRule aro/4/(?!welcome)(.*)?$ /container-platform/latest/$1 [L,R=301]
@@ -173,7 +176,6 @@ AddType text/vtt vtt
173176
RewriteRule ^container-platform/(4\.5|4\.6|4\.7)/migration/migrating_4_2_4/upgrading-migration-tool-4-2-4.html /container-platform/$1/migration/migrating_4_2_4/deploying-cam-4-2-4.html#upgrading-the-mtc_migrating-4-2-4 [NE,R=301]
174177

175178
# 4.7 redirects
176-
RewriteRule ^container-platform/latest/pipelines/creating-applications-with-cicd-pipelines.html /container-platform/4.7/cicd/pipelines/creating-applications-with-cicd-pipelines.html [NE,R=302]
177179

178180
# builds and pipelines books moved to be under the cicd table from 4.7
179181
RewriteRule ^container-platform/4\.7/(builds|pipelines)/?(.*)$ /container-platform/4.7/cicd/$1/$2 [NE,R=301]

0 commit comments

Comments
 (0)